POST api/Tools/SaveBonusTradeInDiscountTemplate
Request Information
URI Parameters
None.
Body Parameters
BonusTradeInDiscountTemplateInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| DBName | string |
None. |
|
| BranchInternalCode | string |
None. |
|
| UserInternalCode | string |
None. |
|
| BrandCodeList | string |
None. |
|
| TemplateNameList | string |
None. |
|
| BonusApplicable | boolean |
None. |
|
| BonusTradeDeduction | boolean |
None. |
|
| TradeInAmountApplicable | boolean |
None. |
|
| TradeInAmountDeduction | string |
None. |
|
| Data | DataSet |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBName": "sample string 1",
"BranchInternalCode": "sample string 2",
"UserInternalCode": "sample string 3",
"BrandCodeList": "sample string 4",
"TemplateNameList": "sample string 5",
"BonusApplicable": true,
"BonusTradeDeduction": true,
"TradeInAmountApplicable": true,
"TradeInAmountDeduction": "sample string 9",
"Data": null
}
application/xml, text/xml
Sample:
<BonusTradeInDiscountTemplateInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.Tools"> <BonusApplicable>true</BonusApplicable> <BonusTradeDeduction>true</BonusTradeDeduction> <BranchInternalCode>sample string 2</BranchInternalCode> <BrandCodeList>sample string 4</BrandCodeList> <DBName>sample string 1</DBName> <Data i:nil="true" /> <TemplateNameList>sample string 5</TemplateNameList> <TradeInAmountApplicable>true</TradeInAmountApplicable> <TradeInAmountDeduction>sample string 9</TradeInAmountDeduction> <UserInternalCode>sample string 3</UserInternalCode> </BonusTradeInDiscountTemplateInputs>
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. |