Sales Forecast Service
getHourlySalesForecast
Retrieves an hourly sales forecast.
get/salesforecast/v1/hourly/getSalesForecast
Request
- Base URL//webservices-test.net-chef.com (relative, and the document’s source URL is not known)
- URL//webservices-test.net-chef.com/salesforecast/v1/hourly/getSalesForecast
- Authnone declared. Required headers: authenticationtoken, password, sitename, userid
Query parameters
locationCodestring required
The Code that identifies the Location in Crunchtime.
weekEndingDatestring required
Week ending date of forecast to retrieve in format dd-MMM-yy.
includeNullboolean
Specify 'true' to output null data elements.
Headers
authenticationtokenstring required
Secure token for API authentication.
passwordstring required
Password for the Crunchtime Application User.
sitenamestring required
Crunchtime site identifier. (test or production)
useridstring required
User ID for the Crunchtime Application User.
X-B3-TraceIdstring
Optional trace identifier for troubleshooting.
Response
Success
Example response
[
{
"checks": 14,
"guests": 13,
"revenueCenterCode": "BS002",
"sales": 12,
"startTime": "12:00 09/02/2024"
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.