v1
latestOpenAPI 3.1.02026-07-2422707.0 MBList all guests of a center
This API helps you to retrieve all guests of the specified center.
You must specify the unique identifier of the center as center_id in the API request. You can also list the guests who are updated recently by passing the last_updated parameter. You can also leverage the pagination feature by passing page and size query parameters if you have a large number of records to be displayed. By default, page is set as 1 and size is set as 10. size cannot be more than 100: which means that the maximum records per page cannot be more than 100.
Query parameters
Mandatory Unique 32-character identifier of the center.
Optional List of guests of the center that were last updated after this date.
Optional Number of the display page. Default value is 1.
Optional Number of records per page. Default value is 10.
Response
200
Example response
{
"guests": [
{
"id": "720B9FDE-BD76-4AEB-940A-022360D02708",
"center_id": "af56e9e1-05e6-403c-84ae-89ac703396fe",
"personal_info": {
"first_name": "Abc",
"last_name": "Stripe",
"email": "abcmar4@em.com",
"mobile_phone": {
"country_code": 225,
"number": "8989787887"
},
"gender": 1,
"nationality_id": -1
}
}
]
}