POST api/PaymentSchemeDetails
Request Information
URI Parameters
None.
Body Parameters
PaymentSchemeDetailBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"IntervalDays": 1,
"Percentage": 2.0,
"Sequence": 3,
"isLockGuest": true,
"Description": "sample string 5",
"PaymentSchemeId": 6,
"IsAfterBookingBased": true
}
application/xml, text/xml
Sample:
<PaymentSchemeDetailBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Description>sample string 5</Description> <IntervalDays>1</IntervalDays> <IsAfterBookingBased>true</IsAfterBookingBased> <PaymentSchemeId>6</PaymentSchemeId> <Percentage>2</Percentage> <Sequence>3</Sequence> <isLockGuest>true</isLockGuest> </PaymentSchemeDetailBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentSchemeDetailBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
Response Formats
application/json, text/json
Sample:
{
"IntervalDays": 1,
"Percentage": 2.0,
"Sequence": 3,
"isLockGuest": true,
"Description": "sample string 5",
"PaymentSchemeId": 6,
"IsAfterBookingBased": true
}
application/xml, text/xml
Sample:
<PaymentSchemeDetailBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Description>sample string 5</Description> <IntervalDays>1</IntervalDays> <IsAfterBookingBased>true</IsAfterBookingBased> <PaymentSchemeId>6</PaymentSchemeId> <Percentage>2</Percentage> <Sequence>3</Sequence> <isLockGuest>true</isLockGuest> </PaymentSchemeDetailBindingModel>