PUT api/PaymentSchemeDetails/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

EditPaymentSchemeDetailBindingModel
NameDescriptionTypeAdditional information
Id

integer

None.

IntervalDays

integer

None.

Percentage

decimal number

None.

Sequence

integer

None.

isLockGuest

boolean

None.

Description

string

String length: inclusive between 0 and 100

PaymentSchemeId

integer

None.

IsAfterBookingBased

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IntervalDays": 2,
  "Percentage": 3.0,
  "Sequence": 4,
  "isLockGuest": true,
  "Description": "sample string 6",
  "PaymentSchemeId": 7,
  "IsAfterBookingBased": true
}

application/xml, text/xml

Sample:
<EditPaymentSchemeDetailBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <Description>sample string 6</Description>
  <IntervalDays>2</IntervalDays>
  <IsAfterBookingBased>true</IsAfterBookingBased>
  <PaymentSchemeId>7</PaymentSchemeId>
  <Percentage>3</Percentage>
  <Sequence>4</Sequence>
  <isLockGuest>true</isLockGuest>
  <Id>1</Id>
</EditPaymentSchemeDetailBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.