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": "bf7a8531-bfca-4cc1-8f9c-fe9aa6969df2",
"StoreName": "sample string 4",
"ProductId": "02c20335-9a3d-4c6e-8be6-202e7ea1441e",
"ProductIdName": "sample string 6",
"ProductPackingSizeId": "c6fc3d1d-cc87-4c08-9085-aa68e6ff792a",
"ProductPackingSizeIdName": "sample string 8",
"StartDate": "2026-05-17T05:52:22.7642348-05:00",
"EndDate": "2026-05-17T05:52:22.7642348-05:00",
"SaleDate": "2026-05-17T05:52:22.7642348-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-05-17T05:52:22.7642348-05:00</EndDate>
<PricePerPack>12</PricePerPack>
<ProductId>02c20335-9a3d-4c6e-8be6-202e7ea1441e</ProductId>
<ProductIdName>sample string 6</ProductIdName>
<ProductPackingSizeId>c6fc3d1d-cc87-4c08-9085-aa68e6ff792a</ProductPackingSizeId>
<ProductPackingSizeIdName>sample string 8</ProductPackingSizeIdName>
<Qty>13</Qty>
<SaleDate>2026-05-17T05:52:22.7642348-05:00</SaleDate>
<StartDate>2026-05-17T05:52:22.7642348-05:00</StartDate>
<StoreName>sample string 4</StoreName>
<StoreRegistrationId>bf7a8531-bfca-4cc1-8f9c-fe9aa6969df2</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.