English
English
简体中文
Contact Us
Register
Log In

Bind Device with Asset

Last Updated on : 2022-04-29 05:41:58

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.