Returns a Shift
object containing of information about one
schedule shift for a restaurant employee.
Returns the specified shifts in an unordered list.
The GUID or external identifier was malformed.
The GUID or external identifier does not match any shifts at the current restaurant.
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/{shiftId}' \ -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
}
}