get
https://webservices-test.net-chef.com/idealearnedhours/v1/getAllIdealEarnedHours
Retrieves ideal and/or earned labor hours in 15-minute intervals for one business date and the requested locations. When requesting many locations or ALL, use getIdealEarnedHoursByPage.
Response notes
- Locations with no data for the business date are left out of the response. If none of the requested locations has data, the response is HTTP 404 with an empty body.
- A requested metric with no hours in an interval is returned as
0. A metric that was not requested is not included in the response. - By default, an interval is left out when none of the requested metrics has hours. Set
includeZeroes=trueto return those intervals too. - Hours are rounded to 2 decimals per interval, so the sum of the intervals can differ from a daily total in Crunchtime reports by a small amount (typically less than 0.01 hour).
- The Labor Productivity screen shows ideal hours only for positions with a shift that day, while this API returns every position with ideal hours, so API totals can be higher than that screen.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…