Creates a schedule shift for a restaurant employee.
A Shift
object containing information about the shift,
including the job identifier, the employee identifier, and
the start and end times.
Creates a shift record and returns information about it.
The request contains data that is not supported by the current version of the API as described.
The request did not have "application/json" in the
Content-Type
header.
An unexpected internal error occurred. There is a
requestId
attached to this error that can be referenced
by Toast support.
{- "externalId": "MyToastNamingAuthority:1234",
- "entityType": "Shift",
- "jobReference": {
- "guid": "678758d1-6aa8-494c-be55-0614f761d160",
- "externalId": "",
- "entityType": "RestaurantJob"
}, - "employeeReference": {
- "guid": "7030407f-761c-4d92-86d9-4e84bc700d0f",
- "externalId": "",
- "entityType": "RestaurantUser"
}, - "inDate": "2015-10-10T06:00:00.000+0000",
- "outDate": "2015-10-10T12:00:00.000+0000"
}
{- "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
}
}