POST api/Report/TopNSalesPerformanceReport
Request Information
URI Parameters
None.
Body Parameters
TopNSalesPerformanceReportInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| DBName | string |
None. |
|
| BranchInternalCode | string |
None. |
|
| UserInternalCode | string |
None. |
|
| BranchCodeList | string |
None. |
|
| StartDate | integer |
None. |
|
| EndDate | integer |
None. |
|
| TopNText | integer |
None. |
|
| ItemModelClsType | string |
None. |
|
| ItemClssCodeList | string |
None. |
|
| ReportBaseType | string |
None. |
|
| TopNItemModelList | string |
None. |
|
| BrandCodeList | string |
None. |
|
| CityTownCodeList | string |
None. |
|
| DocTypeCodeList | string |
None. |
|
| GradeCodeList | string |
None. |
|
| ItemCatgCodeList | string |
None. |
|
| PartyTypeCodeList | string |
None. |
|
| ProdCatgCodeList | string |
None. |
|
| ProductCodeList | string |
None. |
|
| RegionCodeList | string |
None. |
|
| SalepersonCodeList | string |
None. |
|
| SalepersonCatgCodeList | string |
None. |
|
| SaleRetnDocTypeCodeList | string |
None. |
|
| ShowItemModel | boolean |
None. |
|
| IncludeSaleReturn | boolean |
None. |
|
| DownloadReport | boolean |
None. |
|
| BasedonQty | boolean |
None. |
|
| BasedonVal | boolean |
None. |
|
| ShowTaxDisc | boolean |
None. |
|
| ShowContrbOverallSales | boolean |
None. |
|
| ShowIndividualContr | boolean |
None. |
|
| ShowClosingStockSellThru | boolean |
None. |
|
| TransactionType | string |
None. |
|
| NoofDays | integer |
None. |
|
| ReportBaseDesc | string |
None. |
|
| IncludeItemModel | string |
None. |
|
| RemoveColumns | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBName": "sample string 1",
"BranchInternalCode": "sample string 2",
"UserInternalCode": "sample string 3",
"BranchCodeList": "sample string 4",
"StartDate": 5,
"EndDate": 6,
"TopNText": 7,
"ItemModelClsType": "sample string 8",
"ItemClssCodeList": "sample string 9",
"ReportBaseType": "sample string 10",
"TopNItemModelList": "sample string 11",
"BrandCodeList": "sample string 12",
"CityTownCodeList": "sample string 13",
"DocTypeCodeList": "sample string 14",
"GradeCodeList": "sample string 15",
"ItemCatgCodeList": "sample string 16",
"PartyTypeCodeList": "sample string 17",
"ProdCatgCodeList": "sample string 18",
"ProductCodeList": "sample string 19",
"RegionCodeList": "sample string 20",
"SalepersonCodeList": "sample string 21",
"SalepersonCatgCodeList": "sample string 22",
"SaleRetnDocTypeCodeList": "sample string 23",
"ShowItemModel": true,
"IncludeSaleReturn": true,
"DownloadReport": true,
"BasedonQty": true,
"BasedonVal": true,
"ShowTaxDisc": true,
"ShowContrbOverallSales": true,
"ShowIndividualContr": true,
"ShowClosingStockSellThru": true,
"TransactionType": "sample string 33",
"NoofDays": 34,
"ReportBaseDesc": "sample string 35",
"IncludeItemModel": "sample string 36",
"RemoveColumns": "sample string 37"
}
application/xml, text/xml
Sample:
<TopNSalesPerformanceReportInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.Reports"> <BasedonQty>true</BasedonQty> <BasedonVal>true</BasedonVal> <BranchCodeList>sample string 4</BranchCodeList> <BranchInternalCode>sample string 2</BranchInternalCode> <BrandCodeList>sample string 12</BrandCodeList> <CityTownCodeList>sample string 13</CityTownCodeList> <DBName>sample string 1</DBName> <DocTypeCodeList>sample string 14</DocTypeCodeList> <DownloadReport>true</DownloadReport> <EndDate>6</EndDate> <GradeCodeList>sample string 15</GradeCodeList> <IncludeItemModel>sample string 36</IncludeItemModel> <IncludeSaleReturn>true</IncludeSaleReturn> <ItemCatgCodeList>sample string 16</ItemCatgCodeList> <ItemClssCodeList>sample string 9</ItemClssCodeList> <ItemModelClsType>sample string 8</ItemModelClsType> <NoofDays>34</NoofDays> <PartyTypeCodeList>sample string 17</PartyTypeCodeList> <ProdCatgCodeList>sample string 18</ProdCatgCodeList> <ProductCodeList>sample string 19</ProductCodeList> <RegionCodeList>sample string 20</RegionCodeList> <RemoveColumns>sample string 37</RemoveColumns> <ReportBaseDesc>sample string 35</ReportBaseDesc> <ReportBaseType>sample string 10</ReportBaseType> <SaleRetnDocTypeCodeList>sample string 23</SaleRetnDocTypeCodeList> <SalepersonCatgCodeList>sample string 22</SalepersonCatgCodeList> <SalepersonCodeList>sample string 21</SalepersonCodeList> <ShowClosingStockSellThru>true</ShowClosingStockSellThru> <ShowContrbOverallSales>true</ShowContrbOverallSales> <ShowIndividualContr>true</ShowIndividualContr> <ShowItemModel>true</ShowItemModel> <ShowTaxDisc>true</ShowTaxDisc> <StartDate>5</StartDate> <TopNItemModelList>sample string 11</TopNItemModelList> <TopNText>7</TopNText> <TransactionType>sample string 33</TransactionType> <UserInternalCode>sample string 3</UserInternalCode> </TopNSalesPerformanceReportInputs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |