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": "10422f0b-6cbe-4303-a7d2-184c8bd2de4a",
"StoreName": "sample string 4",
"ProductId": "a15a1c0c-8bd4-40a8-ba5f-0abd6a2df763",
"ProductIdName": "sample string 6",
"ProductPackingSizeId": "3eb14ff2-191c-4824-a09c-6ad31d73c945",
"ProductPackingSizeIdName": "sample string 8",
"StartDate": "2026-02-01T09:01:15.8444295-06:00",
"EndDate": "2026-02-01T09:01:15.8444295-06:00",
"SaleDate": "2026-02-01T09:01:15.8444295-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>2026-02-01T09:01:15.8444295-06:00</EndDate>
<PricePerPack>12</PricePerPack>
<ProductId>a15a1c0c-8bd4-40a8-ba5f-0abd6a2df763</ProductId>
<ProductIdName>sample string 6</ProductIdName>
<ProductPackingSizeId>3eb14ff2-191c-4824-a09c-6ad31d73c945</ProductPackingSizeId>
<ProductPackingSizeIdName>sample string 8</ProductPackingSizeIdName>
<Qty>13</Qty>
<SaleDate>2026-02-01T09:01:15.8444295-06:00</SaleDate>
<StartDate>2026-02-01T09:01:15.8444295-06:00</StartDate>
<StoreName>sample string 4</StoreName>
<StoreRegistrationId>10422f0b-6cbe-4303-a7d2-184c8bd2de4a</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.