POST api/dashboard2/GetTop10SellingItems

Request Information

URI Parameters

None.

Body Parameters

ParameterFromDateToDateDepertmentIdOutletId
NameDescriptionTypeAdditional information
isExact

boolean

None.

isCurrentWorkPeriod

boolean

None.

fromDate

date

None.

toDate

date

None.

departmentId

integer

None.

outletId

integer

None.

onlyOpenTickets

boolean

None.

merchantCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "isExact": true,
  "isCurrentWorkPeriod": true,
  "fromDate": "2025-12-11T06:47:54.7903669-06:00",
  "toDate": "2025-12-11T06:47:54.7903669-06:00",
  "departmentId": 5,
  "outletId": 6,
  "onlyOpenTickets": true,
  "merchantCode": "sample string 8"
}

application/xml, text/xml

Sample:
<ParameterFromDateToDateDepertmentIdOutletId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThreeS.Report.v2.Models">
  <departmentId>5</departmentId>
  <fromDate>2025-12-11T06:47:54.7903669-06:00</fromDate>
  <isCurrentWorkPeriod>true</isCurrentWorkPeriod>
  <isExact>true</isExact>
  <merchantCode>sample string 8</merchantCode>
  <onlyOpenTickets>true</onlyOpenTickets>
  <outletId>6</outletId>
  <toDate>2025-12-11T06:47:54.7903669-06:00</toDate>
</ParameterFromDateToDateDepertmentIdOutletId>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ParameterFromDateToDateDepertmentIdOutletId'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.