PUT api/PriceGroupDiscountTypes/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
PriceGroupDiscountTypeName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Enabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Enabled": true }
application/xml, text/xml
Sample:
<PriceGroupDiscountType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OptiPort.Entities.Model"> <_x003C_Enabled_x003E_k__BackingField>true</_x003C_Enabled_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>1</_x003C_Id_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 2</_x003C_Name_x003E_k__BackingField> </PriceGroupDiscountType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.