latestSwagger 2.02026-08-10143234301.7 KB

dc2736850e42

Rest

Gets the sales data by category for the specified month

get/Dashboard/ByCategory/GetTotalSales

Query parameters

requestModel.dateRange.startstring date-time
requestModel.dateRange.endstring date-time
requestModel.locationIdsinteger[]

Location Ids to grab data for

requestModel.accrualboolean

Whether to get data on an accrual basis or cash

requestModel.yearOverYearboolean

Whether to get comparison data year over year or month over month

Headers

Authorizationstring required

Bearer {user_token}

SiteIdinteger required

Site ID

Response

OK

object required