Last Updated on : 2023-06-15 05:46:50
Create or update the device type settings by entering the device category code and device type name. When you create or update the type settings, import the full list of device types. A maximum of 50 device types can be imported.
POST: /v1.0/iot-03/seat-reservations/device-settings
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_categories | List |
true | The device type. |
Description of device_categories
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_category_code | String | true | The code of a specified device type. | |
device_category_name | String | true | The name of a specified device category. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values: true : succeeded. false : failed. |
POST: /v1.0/iot-03/seat-reservations/device-settings
{
"device_categories": [
{
"device_category_code": "cz",
"device_category_name": "Socket"
},
{
"device_category_code": "pm2.5",
"device_category_name": "pm2.5"
}
]
}
{
"result": true,
"t": 1623047389298,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback