Last Updated on : 2023-06-15 05:47:19
This topic describes the APIs of Query Seat Information.
Query the information about a specified seat.
GET: /v1.0/iot-03/seats/{seat_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
seat_id | String | uri | true | The seat ID. |
Parameter name | Type | Description |
---|---|---|
result | SeatRes | The information about a specified seat. |
Description of result
Parameter name | Type | Description |
---|---|---|
id | String | The seat ID. |
seat_no | String | The seat number. |
area_id | String | The ID of the area where the seat is located. |
type | String | The seat type. |
device_categories | List |
The list of device types that are bound with the seat. |
remark | String | Seat introduction. |
image_url | String | The seat image. |
status | String | Indicates the status of a seat.
|
uid | String | The ID of a user who has registered for the seat. |
user_name | String | The name of a user who has registered for the seat. |
GET: /v1.0/iot-03/seats/1401807768616247xxx
{
"result": {
"image_url": "www.tuya.com",
"user_name": "",
"seat_no": "nice12444",
"remark": "rest",
"area_id": "1397463067465392xxx",
"device_categories": [
"cz"
],
"type": "fixed",
"uid": "",
"id": "1401807768616247xxx",
"status": "enable"
},
"t": 1623052073047,
"success": true
}
See Error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback