GET api/PaymentSchemes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentSchemeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Type | string |
String length: inclusive between 0 and 10 |
|
| Description | string |
None. |
|
| IsLock | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Type": "sample string 2",
"Description": "sample string 3",
"IsLock": true
},
{
"Id": 1,
"Type": "sample string 2",
"Description": "sample string 3",
"IsLock": true
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentSchemeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<PaymentSchemeViewModel>
<Description>sample string 3</Description>
<Id>1</Id>
<IsLock>true</IsLock>
<Type>sample string 2</Type>
</PaymentSchemeViewModel>
<PaymentSchemeViewModel>
<Description>sample string 3</Description>
<Id>1</Id>
<IsLock>true</IsLock>
<Type>sample string 2</Type>
</PaymentSchemeViewModel>
</ArrayOfPaymentSchemeViewModel>