GET api/WebApiOdata/GetAllPaymentMethodsbyProviderId?providerID={providerID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| providerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentMethodViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Paymentmethod | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[
{
"Paymentmethod": "sample string 1"
},
{
"Paymentmethod": "sample string 1"
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentMethodViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Reports">
<PaymentMethodViewModel>
<Paymentmethod>sample string 1</Paymentmethod>
</PaymentMethodViewModel>
<PaymentMethodViewModel>
<Paymentmethod>sample string 1</Paymentmethod>
</PaymentMethodViewModel>
</ArrayOfPaymentMethodViewModel>