PUT api/PaymentSchemes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

EditPaymentSchemeBindingModel
NameDescriptionTypeAdditional information
Id

integer

None.

Type

string

Required

String length: inclusive between 0 and 10

Description

string

String length: inclusive between 0 and 100

IsLock

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Type": "sample string 2",
  "Description": "sample string 3",
  "IsLock": true
}

application/xml, text/xml

Sample:
<EditPaymentSchemeBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <Description>sample string 3</Description>
  <IsLock>true</IsLock>
  <Type>sample string 2</Type>
  <Id>1</Id>
</EditPaymentSchemeBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EditPaymentSchemeBindingModel
NameDescriptionTypeAdditional information
Id

integer

None.

Type

string

Required

String length: inclusive between 0 and 10

Description

string

String length: inclusive between 0 and 100

IsLock

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Type": "sample string 2",
  "Description": "sample string 3",
  "IsLock": true
}

application/xml, text/xml

Sample:
<EditPaymentSchemeBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <Description>sample string 3</Description>
  <IsLock>true</IsLock>
  <Type>sample string 2</Type>
  <Id>1</Id>
</EditPaymentSchemeBindingModel>