GET api/PaymentMethod?type={type}
Gets a list of payment.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type |
List Type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentMethod| Name | Description | Type | Additional information |
|---|---|---|---|
| UpdateType | string |
None. |
|
| PaymentMethodId | integer |
None. |
|
| PaymentMethodName | string |
None. |
|
| PaymentMethodAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UpdateType": "sample string 1",
"PaymentMethodId": 2,
"PaymentMethodName": "sample string 3",
"PaymentMethodAmount": 1.0
},
{
"UpdateType": "sample string 1",
"PaymentMethodId": 2,
"PaymentMethodName": "sample string 3",
"PaymentMethodAmount": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
<PaymentMethod>
<PaymentMethodAmount>1</PaymentMethodAmount>
<PaymentMethodId>2</PaymentMethodId>
<PaymentMethodName>sample string 3</PaymentMethodName>
<UpdateType>sample string 1</UpdateType>
</PaymentMethod>
<PaymentMethod>
<PaymentMethodAmount>1</PaymentMethodAmount>
<PaymentMethodId>2</PaymentMethodId>
<PaymentMethodName>sample string 3</PaymentMethodName>
<UpdateType>sample string 1</UpdateType>
</PaymentMethod>
</ArrayOfPaymentMethod>