POST api/PaymentSchemes

Request Information

URI Parameters

None.

Body Parameters

PaymentSchemeBindingModel
NameDescriptionTypeAdditional information
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:
{
  "Type": "sample string 1",
  "Description": "sample string 2",
  "IsLock": true
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaymentSchemeBindingModel
NameDescriptionTypeAdditional information
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:
{
  "Type": "sample string 1",
  "Description": "sample string 2",
  "IsLock": true
}

application/xml, text/xml

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