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": "ffcc76df-53c2-4e2f-a3bb-b8af76a387ed",
"StoreName": "sample string 4",
"ProductId": "8311ee09-b369-4b62-9c78-9c3022176ef5",
"ProductIdName": "sample string 6",
"ProductPackingSizeId": "b693a7d5-5537-4380-a84a-d58642643440",
"ProductPackingSizeIdName": "sample string 8",
"StartDate": "2026-09-14T05:56:11.5735733-05:00",
"EndDate": "2026-09-14T05:56:11.5735733-05:00",
"SaleDate": "2026-09-14T05:56:11.5735733-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-09-14T05:56:11.5735733-05:00</EndDate>
<PricePerPack>12</PricePerPack>
<ProductId>8311ee09-b369-4b62-9c78-9c3022176ef5</ProductId>
<ProductIdName>sample string 6</ProductIdName>
<ProductPackingSizeId>b693a7d5-5537-4380-a84a-d58642643440</ProductPackingSizeId>
<ProductPackingSizeIdName>sample string 8</ProductPackingSizeIdName>
<Qty>13</Qty>
<SaleDate>2026-09-14T05:56:11.5735733-05:00</SaleDate>
<StartDate>2026-09-14T05:56:11.5735733-05:00</StartDate>
<StoreName>sample string 4</StoreName>
<StoreRegistrationId>ffcc76df-53c2-4e2f-a3bb-b8af76a387ed</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.