Creates a menu reporting data request for a specific time range.
Specify the time range with the timeRange
path parameter.
Specify whether to include data from inactive restaurants using the onlyInactiveRestaurants
query parameter.
Specify the startBusinessDate
and endBusinessDate
for the menu data in the message body.
Include information about which restaurants to include or exclude with the
restaurantIds
and excludedRestaurantIds
properties.
Include information about how to aggregate the data with the groupBy
property. You can only use the groupBy
property when requesting
data for a day
or week
time range.
A JSON object containing the starting and ending dates for the reporting data request, included or excluded restaurants, and aggregation options.
The reportRequestGuid
used to retrieve the reporting 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": [
- "MENU"
]
}
"string"