Last Updated on : 2023-06-21 07:13:01download
After an inspection device is bound with a specified asset, link the inspection device with the inspection capability.
POST: /v1.0/iot-03/store-inspection/assets/{asset_id}/actions/device-assign
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The ID of a specified asset. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | true | The device ID. | |
device_type | Integer | true | The type of a specified inspection device. Set the value to 1 to represent AI inspection. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
POST: /v1.0/iot-03/store-inspection/assets/142324705862568****/actions/device-assign
{
"device_id": "vdevo16281640933****",
"device_type": 1
}
{
"result": true,
"t": 1628164152722,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback