Returns an array of Shift
objects that contain information
about schedule shifts for restaurant employees.
Returns the specified shifts in an unordered list.
An unexpected internal error occurred. There is a
requestId
attached to this error that can be referenced
by Toast support.
curl -i -X GET \ 'https://toast-api-server/labor/v1/shifts?endDate=string&shiftIds=string&startDate=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Toast-Restaurant-External-ID: string'
[- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "deletedDate": "2019-08-24T14:15:22Z",
- "deleted": true,
- "jobReference": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "employeeReference": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "inDate": "2019-08-24T14:15:22Z",
- "outDate": "2019-08-24T14:15:22Z",
- "scheduleConfig": {
- "guid": "string",
- "minBeforeClockIn": 0,
- "minAfterClockIn": 0,
- "minBeforeClockOut": 0,
- "minAfterClockOut": 0
}
}
]