improved
09-12-2022 Added Metadata to APIs
about 2 years ago by [email protected]
We added metadata including pagination and total record information to the following GET APIs:
- employees
- entries
- flows
- invites
- locations
- work-schedules
Example of a call to the GET/V1/Employees API would look like:
{
"data": [{
"id": "14845147",
"name": "John Doe",
"email": "[email protected]",
"locationIds": ["99248", "97645", "97641"],
"createdAt": "2020-12-14T22:56:53.359Z",
"updatedAt": "2021-06-11T17:02:50.296Z"
}],
"meta": {
"page": 2,
"perPage": 1,
"total": 132
}
}