Creates an aggregated sales reporting data request for a customized time range.
Use the onlyInactiveRestaurants query parameter set to true to get data for inactive restaurants only.
Specify the startBusinessDate and endBusinessDate for the data in the message body.
Identify restaurants to include or exclude with the restaurantIds and
excludedRestaurantIds properties. If left blank, all restaurants are included by default.
Include information about how to aggregate the data with the groupBy property.
A JSON object containing the starting and ending dates for the aggregated sales reporting data request, included or excluded restaurants, and aggregation options.
The reportRequestGuid used to retrieve the data.
The request contains invalid information.
An unexpected internal error occurred. The
requestId attached to this error can be referenced by
the Toast support team.
{- "startBusinessDate": 0,
- "endBusinessDate": 0,
- "restaurantIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "excludedRestaurantIds": [
- "string"
], - "groupBy": [
- "REVENUE_CENTER"
]
}"string"