Query Sign-in History

Last Updated on : 2023-06-21 07:12:57download

Query the list of users' sign-in history on pages. Enter the meeting reservation ID, the number of items per page (default value: 20), and page number (default value: 1).

API address

GET: /v2.0/iot-03/meeting-reservations/{reservation_id}/sign-records

Request parameter

Parameter nameTypeINRequiredDescription
reservation_idStringuritrueThe reservation ID.
reqMeetingReservationSignRecordQueryReq false

Description of req

Parameter nameTypeINRequiredDescription
typeString falseIndicates the sign-in type. Valid values: signIn: sign-in. signOut: sign-out.
page_noInteger falseThe page number. Default value: 1, which means the first page.
page_sizeInteger falseThe number of items returned on each page. Default value: 20.

Return parameter

Parameter nameTypeDescription
resultPage

Description of result

Parameter nameTypeDescription
totalLongThe total number of items.
listList
has_moreBooleanSpecifies whether to return the next page.

Description of list

Parameter nameTypeDescription
reservation_idStringThe reservation ID.
uidStringThe user ID.
typeStringThe sign-in type.
sign_timeLongThe sign-in time.

Request example

GET: /v2.0/iot-03/meeting-reservations/1410076676288679969/sign-records?type=signIn&pageNo=1&pageSize=10

Return example

{
    "result": {
        "list": [
            {
                "type": "signIn",
                "sign_time": 1625557596613,
                "reservation_id": "1412316611913711680",
                "uid": "1"
            }
        ],
        "total": 1,
        "has_more": false
    },
    "t": 1625557601962,
    "success": true
}

Error code

For more information, see error code.