POST api/SaleReport/GetSaleReport

Request Information

URI Parameters

None.

Body Parameters

SaleReportModel
NameDescriptionTypeAdditional information
CompanyId

integer

None.

CompanyNameId

string

None.

StoreRegistrationId

globally unique identifier

None.

StoreName

string

None.

ProductId

globally unique identifier

None.

ProductIdName

string

None.

ProductPackingSizeId

globally unique identifier

None.

ProductPackingSizeIdName

string

None.

StartDate

date

None.

EndDate

date

None.

SaleDate

date

None.

PricePerPack

decimal number

None.

Qty

decimal number

None.

Total

decimal number

None.

response

Response

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "CompanyNameId": "sample string 2",
  "StoreRegistrationId": "f4de5e25-4436-492e-949a-4205bbb45e01",
  "StoreName": "sample string 4",
  "ProductId": "82a15103-e95d-4325-b341-23ab0230d0e8",
  "ProductIdName": "sample string 6",
  "ProductPackingSizeId": "e6f462bc-b139-4317-ba7f-402130224104",
  "ProductPackingSizeIdName": "sample string 8",
  "StartDate": "2025-12-10T21:43:23.6173325-06:00",
  "EndDate": "2025-12-10T21:43:23.6173325-06:00",
  "SaleDate": "2025-12-10T21:43:23.6173325-06:00",
  "PricePerPack": 12.0,
  "Qty": 13.0,
  "Total": 14.0,
  "response": {
    "Error": "sample string 1",
    "Success": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<SaleReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core2.DataModel">
  <CompanyId>1</CompanyId>
  <CompanyNameId>sample string 2</CompanyNameId>
  <EndDate>2025-12-10T21:43:23.6173325-06:00</EndDate>
  <PricePerPack>12</PricePerPack>
  <ProductId>82a15103-e95d-4325-b341-23ab0230d0e8</ProductId>
  <ProductIdName>sample string 6</ProductIdName>
  <ProductPackingSizeId>e6f462bc-b139-4317-ba7f-402130224104</ProductPackingSizeId>
  <ProductPackingSizeIdName>sample string 8</ProductPackingSizeIdName>
  <Qty>13</Qty>
  <SaleDate>2025-12-10T21:43:23.6173325-06:00</SaleDate>
  <StartDate>2025-12-10T21:43:23.6173325-06:00</StartDate>
  <StoreName>sample string 4</StoreName>
  <StoreRegistrationId>f4de5e25-4436-492e-949a-4205bbb45e01</StoreRegistrationId>
  <Total>14</Total>
  <response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
    <d2p1:Error>sample string 1</d2p1:Error>
    <d2p1:Success>sample string 2</d2p1:Success>
  </response>
</SaleReportModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.