Last Updated on : 2023-06-15 05:52:14
关联指定资产下的客流设备,关联后可以设置客流设备的配置信息,从而统计客流数据。
POST: /v1.0/iot-03/passenger-flows/assets/{asset_id}/actions/device-assign
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | 资产ID |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | true | 设备ID | |
device_type | Integer | true | 客流设备类型;1:出入口客流设备;2:店内客流设备 |
Parameter name | Type | Description |
---|---|---|
result | Boolean | 是否关联成功 |
POST: /v1.0/iot-03/passenger-flows/assets/111111111111/actions/device-assign
{
"device_id": "1111111111111",
"device_type": 1
}
{
"result": true,
"t": 1111111111111,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback