Updates an existing schedule shift record for a restaurant
employee. A PUT
request completely replaces the information
in the existing record.
The shift information. The externalId
identifier is not
allowed forPUT
requests.
Returns the updated Shift
.
The request contains data that is not supported by the current version of the API as described.
The GUID or external identifier does not match any shifts at the current restaurant.
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.
{- "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
}
}