GET api/PaymentSchemeDetails/ByPaymentSchemaId?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PaymentSchemeDetailViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
PaymentSchemeId | integer |
None. |
|
IntervalDays | integer |
Required |
|
isLockGuest | boolean |
None. |
|
Description | string |
String length: inclusive between 0 and 100 |
|
Percentage | decimal number |
None. |
|
Sequence | integer |
None. |
|
IsAfterBookingBased | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "PaymentSchemeId": 2, "IntervalDays": 3, "isLockGuest": true, "Description": "sample string 5", "Percentage": 6.0, "Sequence": 7, "IsAfterBookingBased": true }
application/xml, text/xml
Sample:
<PaymentSchemeDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Description>sample string 5</Description> <Id>1</Id> <IntervalDays>3</IntervalDays> <IsAfterBookingBased>true</IsAfterBookingBased> <PaymentSchemeId>2</PaymentSchemeId> <Percentage>6</Percentage> <Sequence>7</Sequence> <isLockGuest>true</isLockGuest> </PaymentSchemeDetailViewModel>