Query Reservation Sign-in Log

Last Updated on : 2023-06-21 07:13:05download

Query reservation sign-in log by reservation ID, such as the user ID, sign-in type, or sign-in time.

API address

GET: /v1.0/iot-03/seat-reservations/{reservation_id}/sign-records

Request parameter

Parameter name Type IN Required Description
reservation_id String uri true The reservation ID.
type String query false The sign-in type.

Return parameter

Parameter name Type Description
result List The list of reservation and sign-in records.

Description of result

Parameter name Type Description
reservation_id String The reservation ID.
uid String The user ID.
type String Indicates the sign-in type. Valid values: signIn: sign-in. signOut: sign-out.
sign_time Long The sign-in time.

Request example

GET: /v1.0/iot-03/seat-reservations/1400698886867140xxx/sign-records?type=signIn

Return example

{ "result": [ { "type": "signIn", "sign_time": 1622787684406, "reservation_id": "1400698886867140xxx", "uid": "bsh16219351491774xxx" } ], "t": 1623047411050, "success": true }

Error code

For more information, see error code.