Shifts
Get All
Get all the shifts.
get/public/api/shifts?filter={filter}
Query parameters
filterstring
A valid JSON filter object
Headers
Acceptstring
e.g. application/json
Request body
Example request
{
"Authorization": {
"Authorization": "Bearer JWT"
}
}Response
OK
Example response
[
{
"shift_id": "63dbe3f3fb2603001d1f958c",
"title": "New shift4",
"description": "10:00 - 16:00",
"start_date": "2022-12-14T09:00:00.000Z",
"end_date": "2022-12-14T16:00:00.000Z",
"user_id": "62c2adf1e926980025f9986f",
"store_id": "5f3e4cc1fe89be003bc29bd6",
"tenant": "vitaltest",
"created_date": "2023-02-02T16:25:23.119Z",
"updated_date": "2023-02-02T16:25:23.119Z",
"client_id": "VT008",
"username": "newgeofilter1"
},
{
"shift_id": "63d1289f955423001dde00fc",
"title": "New shift8",
"description": "10:00 - 16:00",
"start_date": "2022-12-18T09:00:00.000Z",
"end_date": "2022-12-18T16:00:00.000Z",
"user_id": "62c2adf1e926980025f9986f",
"store_id": "5f3e4cc1fe89be003bc29bd6",
"tenant": "vitaltest",
"created_date": "2023-01-25T13:03:27.676Z",
"updated_date": "2023-01-25T13:03:27.676Z",
"client_id": "VT008",
"username": "newgeofilter1"
}
]Changes
No recorded changes to this endpoint across all 6 revisions of this API.