POST api/SaleReport/GetSaleReport
Request Information
URI Parameters
None.
Body Parameters
SaleReportModel| Name | Description | Type | Additional 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": "390ca5e9-9636-4326-9595-bc4941dfd81f",
"StoreName": "sample string 4",
"ProductId": "19b4cb25-15cf-4ed9-9a34-da9f6647c6bf",
"ProductIdName": "sample string 6",
"ProductPackingSizeId": "10281d38-ce12-4264-b9ed-74d6d2a439ff",
"ProductPackingSizeIdName": "sample string 8",
"StartDate": "2026-03-23T11:33:19.7979483-05:00",
"EndDate": "2026-03-23T11:33:19.7979483-05:00",
"SaleDate": "2026-03-23T11:33:19.7979483-05: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>2026-03-23T11:33:19.7979483-05:00</EndDate>
<PricePerPack>12</PricePerPack>
<ProductId>19b4cb25-15cf-4ed9-9a34-da9f6647c6bf</ProductId>
<ProductIdName>sample string 6</ProductIdName>
<ProductPackingSizeId>10281d38-ce12-4264-b9ed-74d6d2a439ff</ProductPackingSizeId>
<ProductPackingSizeIdName>sample string 8</ProductPackingSizeIdName>
<Qty>13</Qty>
<SaleDate>2026-03-23T11:33:19.7979483-05:00</SaleDate>
<StartDate>2026-03-23T11:33:19.7979483-05:00</StartDate>
<StoreName>sample string 4</StoreName>
<StoreRegistrationId>390ca5e9-9636-4326-9595-bc4941dfd81f</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.