English
English
简体中文
Contact Us
Register
Log In

Unlink Foot Traffic Statistics Device

Last Updated on : 2021-11-01 11:42:02download

Unlink the foot traffic statistics devices from a specific asset. After the operation, the foot traffic data will no longer be calculated.

API address

POST: /v1.0/iot-03/passenger-flows/assets/{asset_id}/actions/device-unassign

Request parameter

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 types of foot traffic statistics devices. Valid values:
  • 1: a foot traffic statistics device at entrance and exit.
  • 2: In-store foot traffic statistics device.

Return parameter

Parameter name Type Description
result Boolean Indicates whether the operation is successful.

Request example

POST: /v1.0/iot-03/passenger-flows/assets/1111111111111111/actions/device-unassign
{ "device_id": "22222222222222", "device_type": 1 }

Return example

{ "result": true, "t": 1111111111111, "success": true }

Error code

For more information, see error code.