Last Updated on : 2023-06-21 07:13:00download
Query the reservation history by reservation ID.
GET: /v1.0/iot-03/seat-reservations/{reservation_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
reservation_id | String | uri | true | The reservation ID. |
Parameter name | Type | Description |
---|---|---|
result | ReservationAndExtRes | The reservation history. |
Description of result
Parameter name | Type | Description |
---|---|---|
id | String | The reservation ID. |
uid | String | The user ID. |
user_name | String | The username. |
seat_id | String | The seat ID. |
seat_no | String | The seat number. |
area_id | String | The ID of the area where the seat is located. |
area_name | String | The name of the area where the seat is located. |
status | String | The reservation status. |
start_time | Long | The start time of the reservation. |
end_time | Long | The end time of the reservation. |
GET: /v1.0/iot-03/seat-reservations/1400698886867140xxx
{}
{
"result": {
"area_name": "seat10",
"seat_id": "1400698261043429xxx",
"user_name": "test2",
"end_time": 1622789700000,
"seat_no": "hulal4",
"area_id": "1397463067465392xxx",
"start_time": 1622787900000,
"uid": "bsh16219351491774xxx",
"id": "1400698886867140xxx",
"status": "signed_in"
},
"t": 1623048246637,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback