POST api/HCS/GetSalesAnalysisExcelReport
Request Information
URI Parameters
None.
Body Parameters
SalesAnalysisCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpID | integer |
None. |
|
| BegDate | date |
None. |
|
| EndDate | date |
None. |
|
| GroupByCustomer | boolean |
None. |
|
| GroupByItem | boolean |
None. |
|
| GroupByClass | boolean |
None. |
|
| GroupByRep | boolean |
None. |
|
| SummaryView | boolean |
None. |
|
| DetailView | boolean |
None. |
|
| SLPRSNID | string |
None. |
|
| ITMCLSCD | string |
None. |
|
| ITEMNMBR | string |
None. |
|
| CUSTNMBR | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpID": 1,
"BegDate": "2025-12-17T03:21:07.4951506+00:00",
"EndDate": "2025-12-17T03:21:07.4951506+00:00",
"GroupByCustomer": true,
"GroupByItem": true,
"GroupByClass": true,
"GroupByRep": true,
"SummaryView": true,
"DetailView": true,
"SLPRSNID": "sample string 10",
"ITMCLSCD": "sample string 11",
"ITEMNMBR": "sample string 12",
"CUSTNMBR": "sample string 13"
}
application/xml, text/xml
Sample:
<SalesAnalysisCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HCSAPI.DTOs"> <BegDate>2025-12-17T03:21:07.4951506+00:00</BegDate> <CUSTNMBR>sample string 13</CUSTNMBR> <DetailView>true</DetailView> <EmpID>1</EmpID> <EndDate>2025-12-17T03:21:07.4951506+00:00</EndDate> <GroupByClass>true</GroupByClass> <GroupByCustomer>true</GroupByCustomer> <GroupByItem>true</GroupByItem> <GroupByRep>true</GroupByRep> <ITEMNMBR>sample string 12</ITEMNMBR> <ITMCLSCD>sample string 11</ITMCLSCD> <SLPRSNID>sample string 10</SLPRSNID> <SummaryView>true</SummaryView> </SalesAnalysisCriteria>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>