Returns a TimeEntry
object containing information about one
employee shift. The information includes the shift start time,
end time, and the start and end times of break periods.
Returns the specified time entry.
The GUID or external identifier was malformed.
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/timeEntries/{timeEntryId}?includeArchived=true&includeMissedBreaks=true' \ -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"
}, - "shiftReference": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "inDate": "2019-08-24T14:15:22Z",
- "outDate": "2019-08-24T14:15:22Z",
- "autoClockedOut": true,
- "businessDate": "string",
- "regularHours": 0,
- "overtimeHours": 0,
- "hourlyWage": 0,
- "breaks": [
- {
- "guid": "string",
- "breakType": {
- "guid": "string",
- "entityType": "string"
}, - "paid": true,
- "inDate": "2019-08-24T14:15:22Z",
- "outDate": "2019-08-24T14:15:22Z",
- "missed": true,
- "auditResponse": true
}
], - "declaredCashTips": 0,
- "nonCashTips": 0,
- "cashGratuityServiceCharges": 0,
- "nonCashGratuityServiceCharges": 0,
- "tipsWithheld": 0,
- "nonCashSales": 0,
- "cashSales": 0
}