PUT api/PriceGroupDiscountTypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PriceGroupDiscountType
NameDescriptionTypeAdditional 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.