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. |
|
| DocTypeCodeList | string |
None. |
|
| ItemCatgCodeList | string |
None. |
|
| PartyTypeCodeList | string |
None. |
|
| ProdCatgCodeList | string |
None. |
|
| ProductCodeList | string |
None. |
|
| SalepersonCodeList | string |
None. |
|
| SalepersonCatgCodeList | string |
None. |
|
| SaleRetnDocTypeCodeList | string |
None. |
|
| IncludeSaleReturn | boolean |
None. |
|
| DownloadReport | boolean |
None. |
|
| BasedonQty | boolean |
None. |
|
| BasedonVal | boolean |
None. |
|
| ShowTax | boolean |
None. |
|
| ShowDisc1 | boolean |
None. |
|
| ShowDisc2 | boolean |
None. |
|
| ShowContrbOverallSales | boolean |
None. |
|
| ShowIndividualContr | boolean |
None. |
|
| ShowClosingStockSellThru | boolean |
None. |
|
| TransactionType | string |
None. |
|
| NoofDays | integer |
None. |
|
| ReportBaseDesc | string |
None. |
|
| ShowColumn | string |
None. |
|
| ShowColumnDesc | string |
None. |
|
| IncludeItemModel | string |
None. |
|
| RemoveColumns | string |
None. |
|
| CalledFromManagementDashboard | boolean |
None. |
|
| DealerCityTown | string |
None. |
|
| DealerGrade | string |
None. |
|
| DealerCategory | string |
None. |
|
| DealerClassification1 | string |
None. |
|
| DealerClassification2 | 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",
"DocTypeCodeList": "sample string 13",
"ItemCatgCodeList": "sample string 14",
"PartyTypeCodeList": "sample string 15",
"ProdCatgCodeList": "sample string 16",
"ProductCodeList": "sample string 17",
"SalepersonCodeList": "sample string 18",
"SalepersonCatgCodeList": "sample string 19",
"SaleRetnDocTypeCodeList": "sample string 20",
"IncludeSaleReturn": true,
"DownloadReport": true,
"BasedonQty": true,
"BasedonVal": true,
"ShowTax": true,
"ShowDisc1": true,
"ShowDisc2": true,
"ShowContrbOverallSales": true,
"ShowIndividualContr": true,
"ShowClosingStockSellThru": true,
"TransactionType": "sample string 31",
"NoofDays": 32,
"ReportBaseDesc": "sample string 33",
"ShowColumn": "sample string 34",
"ShowColumnDesc": "sample string 35",
"IncludeItemModel": "sample string 36",
"RemoveColumns": "sample string 37",
"CalledFromManagementDashboard": true,
"DealerCityTown": "sample string 39",
"DealerGrade": "sample string 40",
"DealerCategory": "sample string 41",
"DealerClassification1": "sample string 42",
"DealerClassification2": "sample string 43"
}
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> <CalledFromManagementDashboard>true</CalledFromManagementDashboard> <DBName>sample string 1</DBName> <DealerCategory>sample string 41</DealerCategory> <DealerCityTown>sample string 39</DealerCityTown> <DealerClassification1>sample string 42</DealerClassification1> <DealerClassification2>sample string 43</DealerClassification2> <DealerGrade>sample string 40</DealerGrade> <DocTypeCodeList>sample string 13</DocTypeCodeList> <DownloadReport>true</DownloadReport> <EndDate>6</EndDate> <IncludeItemModel>sample string 36</IncludeItemModel> <IncludeSaleReturn>true</IncludeSaleReturn> <ItemCatgCodeList>sample string 14</ItemCatgCodeList> <ItemClssCodeList>sample string 9</ItemClssCodeList> <ItemModelClsType>sample string 8</ItemModelClsType> <NoofDays>32</NoofDays> <PartyTypeCodeList>sample string 15</PartyTypeCodeList> <ProdCatgCodeList>sample string 16</ProdCatgCodeList> <ProductCodeList>sample string 17</ProductCodeList> <RemoveColumns>sample string 37</RemoveColumns> <ReportBaseDesc>sample string 33</ReportBaseDesc> <ReportBaseType>sample string 10</ReportBaseType> <SaleRetnDocTypeCodeList>sample string 20</SaleRetnDocTypeCodeList> <SalepersonCatgCodeList>sample string 19</SalepersonCatgCodeList> <SalepersonCodeList>sample string 18</SalepersonCodeList> <ShowClosingStockSellThru>true</ShowClosingStockSellThru> <ShowColumn>sample string 34</ShowColumn> <ShowColumnDesc>sample string 35</ShowColumnDesc> <ShowContrbOverallSales>true</ShowContrbOverallSales> <ShowDisc1>true</ShowDisc1> <ShowDisc2>true</ShowDisc2> <ShowIndividualContr>true</ShowIndividualContr> <ShowTax>true</ShowTax> <StartDate>5</StartDate> <TopNItemModelList>sample string 11</TopNItemModelList> <TopNText>7</TopNText> <TransactionType>sample string 31</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. |