PUT api/PutCustomerRole/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Role
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

FreeShipping

boolean

None.

TaxExempt

boolean

None.

Active

boolean

None.

IsSystemRole

boolean

None.

SystemName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "FreeShipping": true,
  "TaxExempt": true,
  "Active": true,
  "IsSystemRole": true,
  "SystemName": "sample string 7"
}

application/xml, text/xml

Sample:
<Role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCPQG_API.Models">
  <Active>true</Active>
  <FreeShipping>true</FreeShipping>
  <Id>1</Id>
  <IsSystemRole>true</IsSystemRole>
  <Name>sample string 2</Name>
  <SystemName>sample string 7</SystemName>
  <TaxExempt>true</TaxExempt>
</Role>

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 'Role'.

Response Information

Resource Description

None.