Bind Device with Asset

Last Updated on : 2023-06-20 15:22:30download

Bind multiple devices with a specified asset based on the Bind Code.

API address

POST: /v1.1/iot-02/device-bc-bind

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
asset_idString falseThe asset ID.
device_bind_code_listString falseThe list of device Bind Code.

Return parameter

Parameter nameTypeDescription
resultHighwayDeviceBatchBindByDeviceBindCodeResponseThe binding result.

Description of result

Parameter nameTypeDescription
assets_device_bind_code_paas_response_listListThe result of binding devices based on the Bind Code.

Description of assets_device_bind_code_paas_response_list

Parameter nameTypeDescription
asset_idStringThe asset ID.
device_bind_codeStringThe list of device Bind Code.
device_idStringThe device ID.
bind_resultBooleanThe binding result.

Request example

POST: /v1.1/iot-02/device-bc-bind

Error code

For more information, see error code.