GET api/PaymentMode
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentModes| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentID | string |
None. |
|
| PaymentMode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PaymentID": "sample string 1",
"PaymentMode": "sample string 2"
},
{
"PaymentID": "sample string 1",
"PaymentMode": "sample string 2"
}
]
text/html
Sample:
[{"PaymentID":"sample string 1","PaymentMode":"sample string 2"},{"PaymentID":"sample string 1","PaymentMode":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfPaymentModes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Matatu.Models">
<PaymentModes>
<PaymentID>sample string 1</PaymentID>
<PaymentMode>sample string 2</PaymentMode>
</PaymentModes>
<PaymentModes>
<PaymentID>sample string 1</PaymentID>
<PaymentMode>sample string 2</PaymentMode>
</PaymentModes>
</ArrayOfPaymentModes>