PUT api/CustomerDiscount
Request Information
URI Parameters
None.
Body Parameters
C_CustomerTypeWiseDiscount| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerType | integer |
None. |
|
| ProductMainGroupId | integer |
None. |
|
| DiscountPercentage | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerType": 2,
"ProductMainGroupId": 3,
"DiscountPercentage": 4.0,
"DiscountAmount": 5.0
}
application/xml, text/xml
Sample:
<C_CustomerTypeWiseDiscount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <CustomerType>2</CustomerType> <DiscountAmount>5</DiscountAmount> <DiscountPercentage>4</DiscountPercentage> <Id>1</Id> <ProductMainGroupId>3</ProductMainGroupId> </C_CustomerTypeWiseDiscount>
application/x-www-form-urlencoded
Sample:
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. |