更新时间:2023-06-15 05:47:30
本文介绍编辑座位的 API。
编辑座位。
PUT: /v1.0/iot-03/seats/{seat_id}
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| seat_id | String | uri | true | 座位ID |
| req | SeatModifyReq | body | true | 座位编辑请求 |
req 说明
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| seat_no | String | false | 座位编号 | |
| remark | String | false | 座位介绍 | |
| type | String | false | 座位类型 | |
| device_categories | List |
false | 座位绑定设备类型列表 | |
| image_url | String | false | 座位图片 | |
| status | String | false | 座位状态 |
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | Boolean | 编辑结果 |
PUT: /v1.0/iot-03/seats/1401807768616247xxx
{
"seat_no": "hula32",
"remark": "测试座位编辑",
"device_categories": [
"cz"
],
"type": "fixed",
"image_url": "www.tuya.com",
"status": "enable"
}
{
"result": true,
"t": 1623052379558,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈