GET api/PaymentsRest
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentName | Description | Type | Additional information |
---|---|---|---|
PaymentID | integer |
None. |
|
CustomerID | integer |
None. |
|
PaymentAmount | integer |
None. |
|
PaymentReference | string |
None. |
|
PaymentActionRequired | boolean |
None. |
|
PaymentAuthorised | boolean |
None. |
|
MerhantName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PaymentID": 1, "CustomerID": 2, "PaymentAmount": 3, "PaymentReference": "sample string 4", "PaymentActionRequired": true, "PaymentAuthorised": true, "MerhantName": "sample string 7" }, { "PaymentID": 1, "CustomerID": 2, "PaymentAmount": 3, "PaymentReference": "sample string 4", "PaymentActionRequired": true, "PaymentAuthorised": true, "MerhantName": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models"> <Payment> <CustomerID>2</CustomerID> <MerhantName>sample string 7</MerhantName> <PaymentActionRequired>true</PaymentActionRequired> <PaymentAmount>3</PaymentAmount> <PaymentAuthorised>true</PaymentAuthorised> <PaymentID>1</PaymentID> <PaymentReference>sample string 4</PaymentReference> </Payment> <Payment> <CustomerID>2</CustomerID> <MerhantName>sample string 7</MerhantName> <PaymentActionRequired>true</PaymentActionRequired> <PaymentAmount>3</PaymentAmount> <PaymentAuthorised>true</PaymentAuthorised> <PaymentID>1</PaymentID> <PaymentReference>sample string 4</PaymentReference> </Payment> </ArrayOfPayment>