PUT api/CustomerTypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CustomerType
NameDescriptionTypeAdditional information
CustomerTypeId

integer

None.

CustomerTypeDescription

string

Max length: 50

Request Formats

application/json, text/json

Sample:
{
  "CustomerTypeId": 1,
  "CustomerTypeDescription": "sample string 2"
}

application/xml, text/xml

Sample:
<CustomerType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <CustomerTypeDescription>sample string 2</CustomerTypeDescription>
  <CustomerTypeId>1</CustomerTypeId>
</CustomerType>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerType'.

Response Information

Resource Description

None.