POST api/dashboard2/GetProductWiseSalesInfo

Request Information

URI Parameters

None.

Body Parameters

ParameterFromDatetoDateOutletIdListDepartmentIdLis
NameDescriptionTypeAdditional information
isExact

boolean

None.

from

date

None.

to

date

None.

NumberOfYears

integer

None.

outletIds

Collection of integer

None.

departmentIds

Collection of integer

None.

connectionString

string

None.

Request Formats

application/json, text/json

Sample:
{
  "isExact": true,
  "from": "2025-12-11T06:48:53.3931311-06:00",
  "to": "2025-12-11T06:48:53.3931311-06:00",
  "NumberOfYears": 4,
  "outletIds": [
    1,
    2
  ],
  "departmentIds": [
    1,
    2
  ],
  "connectionString": "sample string 5"
}

application/xml, text/xml

Sample:
<ParameterFromDatetoDateOutletIdListDepartmentIdLis xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThreeS.Report.v2.Models">
  <NumberOfYears>4</NumberOfYears>
  <connectionString>sample string 5</connectionString>
  <departmentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </departmentIds>
  <from>2025-12-11T06:48:53.3931311-06:00</from>
  <isExact>true</isExact>
  <outletIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </outletIds>
  <to>2025-12-11T06:48:53.3931311-06:00</to>
</ParameterFromDatetoDateOutletIdListDepartmentIdLis>

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 'ParameterFromDatetoDateOutletIdListDepartmentIdLis'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.