GET api/WebApiOdata/GetAllPOPayments?providerID={providerID}&pOPaymentID={pOPaymentID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
|
pOPaymentID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of POPaymentViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
PONumber | string |
None. |
|
Status | boolean |
None. |
|
Deleted | boolean |
None. |
|
ShoppersCount | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "Id": 1, "Name": "sample string 2", "PONumber": "sample string 3", "Status": true, "Deleted": true, "ShoppersCount": 6 }, { "Id": 1, "Name": "sample string 2", "PONumber": "sample string 3", "Status": true, "Deleted": true, "ShoppersCount": 6 } ]
application/xml, text/xml
Sample:
<ArrayOfPOPaymentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Shoppers"> <POPaymentViewModel> <Deleted>true</Deleted> <Id>1</Id> <Name>sample string 2</Name> <PONumber>sample string 3</PONumber> <ShoppersCount>6</ShoppersCount> <Status>true</Status> </POPaymentViewModel> <POPaymentViewModel> <Deleted>true</Deleted> <Id>1</Id> <Name>sample string 2</Name> <PONumber>sample string 3</PONumber> <ShoppersCount>6</ShoppersCount> <Status>true</Status> </POPaymentViewModel> </ArrayOfPOPaymentViewModel>