POST v1/Sum/GetTop5Selling
Request Information
URI Parameters
None.
Body Parameters
SaleSummaryData| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchCode | integer |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"BranchCode": 1,
"FromDate": "2026-07-25T11:30:48.4393071+05:30",
"ToDate": "2026-07-25T11:30:48.4393071+05:30"
}
text/xml
Sample:
<SaleSummaryData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppEntity"> <BranchCode>1</BranchCode> <FromDate>2026-07-25T11:30:48.4393071+05:30</FromDate> <ToDate>2026-07-25T11:30:48.4393071+05:30</ToDate> </SaleSummaryData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of GetTop5SellingItems_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemCode | string |
None. |
|
| ItemName | string |
None. |
|
| SellingPrice | decimal number |
None. |
|
| Quantity | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ItemCode": "sample string 1",
"ItemName": "sample string 2",
"SellingPrice": 1.0,
"Quantity": 1.0,
"TotalAmount": 1.0
},
{
"ItemCode": "sample string 1",
"ItemName": "sample string 2",
"SellingPrice": 1.0,
"Quantity": 1.0,
"TotalAmount": 1.0
}
]
text/xml
Sample:
<ArrayOfGetTop5SellingItems_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppEntity">
<GetTop5SellingItems_Result>
<ItemCode>sample string 1</ItemCode>
<ItemName>sample string 2</ItemName>
<Quantity>1</Quantity>
<SellingPrice>1</SellingPrice>
<TotalAmount>1</TotalAmount>
</GetTop5SellingItems_Result>
<GetTop5SellingItems_Result>
<ItemCode>sample string 1</ItemCode>
<ItemName>sample string 2</ItemName>
<Quantity>1</Quantity>
<SellingPrice>1</SellingPrice>
<TotalAmount>1</TotalAmount>
</GetTop5SellingItems_Result>
</ArrayOfGetTop5SellingItems_Result>