GET api/paymenttypes
GET: api/paymenttypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentTypeId |
Payment Type Id |
integer |
None. |
| PaymentTypeName |
Payment Type Name |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"paymentTypeId": 1,
"paymentTypeName": "sample string 2"
},
{
"paymentTypeId": 1,
"paymentTypeName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
<PaymentTypeViewModel>
<PaymentTypeId>1</PaymentTypeId>
<PaymentTypeName>sample string 2</PaymentTypeName>
</PaymentTypeViewModel>
<PaymentTypeViewModel>
<PaymentTypeId>1</PaymentTypeId>
<PaymentTypeName>sample string 2</PaymentTypeName>
</PaymentTypeViewModel>
</ArrayOfPaymentTypeViewModel>