POST api2/device_license.json

Get device license

Request Information

URI Parameters

None.

Body Parameters

API.Models.DeviceLicenseRequest
NameDescriptionTypeAdditional information
projectID

integer

Required

deviceID

integer

Required

licenseType

API.Code.DeviceHelperAPI+eLicenseType

Required

clientInfo

string

Required

Request Formats

{
  "projectID": 1,
  "deviceID": 2,
  "licenseType": "Play",
  "clientInfo": "sample string 3"
}

Response Information

Resource Description

API.Models.DeviceLicenseResponse
NameDescriptionTypeAdditional information
result

API.Code.DeviceHelperAPI+eLicenseResult

None.

license

string

None.

licenseID

integer

None.

Response Formats

{
  "result": "OK",
  "license": "sample string 1",
  "licenseID": 2
}