POST api/Report/TopNSalesPerformanceReport

Request Information

URI Parameters

None.

Body Parameters

TopNSalesPerformanceReportInputs
NameDescriptionTypeAdditional information
DBName

string

None.

BranchInternalCode

string

None.

UserInternalCode

string

None.

BranchCodeList

string

None.

StartDate

integer

None.

EndDate

integer

None.

PartyCode

string

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.

IncludeSalesType

string

None.

IncludeItemModel

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,
  "PartyCode": "sample string 7",
  "TopNText": 8,
  "ItemModelClsType": "sample string 9",
  "ItemClssCodeList": "sample string 10",
  "ReportBaseType": "sample string 11",
  "TopNItemModelList": "sample string 12",
  "BrandCodeList": "sample string 13",
  "CityTownCodeList": "sample string 14",
  "DocTypeCodeList": "sample string 15",
  "GradeCodeList": "sample string 16",
  "ItemCatgCodeList": "sample string 17",
  "PartyTypeCodeList": "sample string 18",
  "ProdCatgCodeList": "sample string 19",
  "ProductCodeList": "sample string 20",
  "RegionCodeList": "sample string 21",
  "SalepersonCodeList": "sample string 22",
  "SalepersonCatgCodeList": "sample string 23",
  "SaleRetnDocTypeCodeList": "sample string 24",
  "ShowItemModel": true,
  "IncludeSaleReturn": true,
  "DownloadReport": true,
  "BasedonQty": true,
  "BasedonVal": true,
  "ShowTaxDisc": true,
  "ShowContrbOverallSales": true,
  "ShowIndividualContr": true,
  "ShowClosingStockSellThru": true,
  "TransactionType": "sample string 34",
  "NoofDays": 35,
  "ReportBaseDesc": "sample string 36",
  "IncludeSalesType": "sample string 37",
  "IncludeItemModel": "sample string 38"
}

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 13</BrandCodeList>
  <CityTownCodeList>sample string 14</CityTownCodeList>
  <DBName>sample string 1</DBName>
  <DocTypeCodeList>sample string 15</DocTypeCodeList>
  <DownloadReport>true</DownloadReport>
  <EndDate>6</EndDate>
  <GradeCodeList>sample string 16</GradeCodeList>
  <IncludeItemModel>sample string 38</IncludeItemModel>
  <IncludeSaleReturn>true</IncludeSaleReturn>
  <IncludeSalesType>sample string 37</IncludeSalesType>
  <ItemCatgCodeList>sample string 17</ItemCatgCodeList>
  <ItemClssCodeList>sample string 10</ItemClssCodeList>
  <ItemModelClsType>sample string 9</ItemModelClsType>
  <NoofDays>35</NoofDays>
  <PartyCode>sample string 7</PartyCode>
  <PartyTypeCodeList>sample string 18</PartyTypeCodeList>
  <ProdCatgCodeList>sample string 19</ProdCatgCodeList>
  <ProductCodeList>sample string 20</ProductCodeList>
  <RegionCodeList>sample string 21</RegionCodeList>
  <ReportBaseDesc>sample string 36</ReportBaseDesc>
  <ReportBaseType>sample string 11</ReportBaseType>
  <SaleRetnDocTypeCodeList>sample string 24</SaleRetnDocTypeCodeList>
  <SalepersonCatgCodeList>sample string 23</SalepersonCatgCodeList>
  <SalepersonCodeList>sample string 22</SalepersonCodeList>
  <ShowClosingStockSellThru>true</ShowClosingStockSellThru>
  <ShowContrbOverallSales>true</ShowContrbOverallSales>
  <ShowIndividualContr>true</ShowIndividualContr>
  <ShowItemModel>true</ShowItemModel>
  <ShowTaxDisc>true</ShowTaxDisc>
  <StartDate>5</StartDate>
  <TopNItemModelList>sample string 12</TopNItemModelList>
  <TopNText>8</TopNText>
  <TransactionType>sample string 34</TransactionType>
  <UserInternalCode>sample string 3</UserInternalCode>
</TopNSalesPerformanceReportInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.