Returns an array of TimeEntry
objects that contain
information about employee shift events. The information
includes shift start times, end times, and the start and end
times of break periods.
Include one or more timeEntryId
query parameters set to
the GUIDs for specific time entries.
Include both a startDate
and an endDate
query parameter
to get time entries for a specific time period.
Include both a modifiedStartDate
and a modifiedEndDate
query parameter to get the time entries that were modified
during a specific time period.
Includes a businessDate
query parameter to get the time
entries with an inDate
during a specific business date.
Valid requests include one or more timeEntryId
parameters,
both a startDate
and an endDate
, both a modifiedStartDate
and a modifiedEndDate
, or a businessDate
.
Returns the specified time entries.
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?businessDate=string&endDate=string&includeArchived=true&includeMissedBreaks=true&modifiedEndDate=string&modifiedStartDate=string&startDate=string&timeEntryIds=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"
}, - "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
}
]