English
English
简体中文
Contact Us
Register
Log In

Get Device Category

Last Updated on : 2021-07-16 08:42:52download

Get the device category settings. The returned result includes the code and name of the device category.

API address

GET: /v1.0/iot-03/seat-reservations/device-settings

Return parameter

Parameter name Type Description
result DeviceTypeVO

Description of result

Parameter name Type Description
device_categories List The device type.

Description of device_categories

Parameter name Type Description
device_category_code String The code of a specified device type.
device_category_name String The name of a specified device category.

Request example

GET: /v1.0/iot-03/seat-reservations/device-settings

Return example

{ "result": { "device_categories": [ { "device_category_code": "cz", "device_category_name": "Socket" }, { "device_category_code": "pm2.5", "device_category_name": "pm2.5" } ] }, "t": 1623048164076, "success": true }

Error code

For more information, see error code.