POST api/mapx/SalesProfitReport

Request Information

URI Parameters

None.

Body Parameters

SalesProfitReport
NameDescriptionTypeAdditional information
DBName

string

None.

BranchInternalCode

string

None.

UserInternalCode

string

None.

BranchCodeList

string

None.

StartDate

integer

None.

EndDate

integer

None.

Group1Type

string

None.

Group2Type

string

None.

Group3Type

string

None.

Group1Name

string

None.

Group2Name

string

None.

Group3Name

string

None.

ProfitCalculationBasedOnPriceTemplateList

string

None.

IncludeDiscountforProfitCalculation

boolean

None.

IncludeTaxforProfitCalculation

boolean

None.

DownloadReport

boolean

None.

SalespersonCode

string

None.

PriceTemplateCodeList

string

None.

ShowItemModelDetails

boolean

None.

ShowDocumentDetails

boolean

None.

ShowIMEINumber

boolean

None.

ShowActivationDatePriceBasedOnProfitCalculation

boolean

None.

ProfitCalculationBasedOnPriceTemplateName

string

None.

ProductCodeList

string

None.

BrandCodeList

string

None.

ProductcatgoryCodeList

string

None.

ItemCatgoryCodelist

string

None.

ItemModelCodeList

string

None.

ItemClassficationTypeCodeList

string

None.

ItemClassficationCodeList

string

None.

SalesDocumentType

string

None.

SalesReturnDocumentType

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,
  "Group1Type": "sample string 7",
  "Group2Type": "sample string 8",
  "Group3Type": "sample string 9",
  "Group1Name": "sample string 10",
  "Group2Name": "sample string 11",
  "Group3Name": "sample string 12",
  "ProfitCalculationBasedOnPriceTemplateList": "sample string 13",
  "IncludeDiscountforProfitCalculation": true,
  "IncludeTaxforProfitCalculation": true,
  "DownloadReport": true,
  "SalespersonCode": "sample string 17",
  "PriceTemplateCodeList": "sample string 18",
  "ShowItemModelDetails": true,
  "ShowDocumentDetails": true,
  "ShowIMEINumber": true,
  "ShowActivationDatePriceBasedOnProfitCalculation": true,
  "ProfitCalculationBasedOnPriceTemplateName": "sample string 23",
  "ProductCodeList": "sample string 24",
  "BrandCodeList": "sample string 25",
  "ProductcatgoryCodeList": "sample string 26",
  "ItemCatgoryCodelist": "sample string 27",
  "ItemModelCodeList": "sample string 28",
  "ItemClassficationTypeCodeList": "sample string 29",
  "ItemClassficationCodeList": "sample string 30",
  "SalesDocumentType": "sample string 31",
  "SalesReturnDocumentType": "sample string 32"
}

application/xml, text/xml

Sample:
<SalesProfitReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.Reports">
  <BranchCodeList>sample string 4</BranchCodeList>
  <BranchInternalCode>sample string 2</BranchInternalCode>
  <BrandCodeList>sample string 25</BrandCodeList>
  <DBName>sample string 1</DBName>
  <DownloadReport>true</DownloadReport>
  <EndDate>6</EndDate>
  <Group1Name>sample string 10</Group1Name>
  <Group1Type>sample string 7</Group1Type>
  <Group2Name>sample string 11</Group2Name>
  <Group2Type>sample string 8</Group2Type>
  <Group3Name>sample string 12</Group3Name>
  <Group3Type>sample string 9</Group3Type>
  <IncludeDiscountforProfitCalculation>true</IncludeDiscountforProfitCalculation>
  <IncludeTaxforProfitCalculation>true</IncludeTaxforProfitCalculation>
  <ItemCatgoryCodelist>sample string 27</ItemCatgoryCodelist>
  <ItemClassficationCodeList>sample string 30</ItemClassficationCodeList>
  <ItemClassficationTypeCodeList>sample string 29</ItemClassficationTypeCodeList>
  <ItemModelCodeList>sample string 28</ItemModelCodeList>
  <PriceTemplateCodeList>sample string 18</PriceTemplateCodeList>
  <ProductCodeList>sample string 24</ProductCodeList>
  <ProductcatgoryCodeList>sample string 26</ProductcatgoryCodeList>
  <ProfitCalculationBasedOnPriceTemplateList>sample string 13</ProfitCalculationBasedOnPriceTemplateList>
  <ProfitCalculationBasedOnPriceTemplateName>sample string 23</ProfitCalculationBasedOnPriceTemplateName>
  <SalesDocumentType>sample string 31</SalesDocumentType>
  <SalesReturnDocumentType>sample string 32</SalesReturnDocumentType>
  <SalespersonCode>sample string 17</SalespersonCode>
  <ShowActivationDatePriceBasedOnProfitCalculation>true</ShowActivationDatePriceBasedOnProfitCalculation>
  <ShowDocumentDetails>true</ShowDocumentDetails>
  <ShowIMEINumber>true</ShowIMEINumber>
  <ShowItemModelDetails>true</ShowItemModelDetails>
  <StartDate>5</StartDate>
  <UserInternalCode>sample string 3</UserInternalCode>
</SalesProfitReport>

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.