GET api/PaymentReceipt/{id}?type={type}
Gets payment receipt.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Sales/Return Order Global Id. |
string |
Required |
| type |
List Type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentReceipt| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentId | integer |
None. |
|
| OrderId | integer |
None. |
|
| PaymentMethodId | integer |
None. |
|
| PaymentMethod | string |
None. |
|
| Amount | decimal number |
None. |
|
| AmountReceived | decimal number |
None. |
|
| AmountOutstanding | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PaymentId": 1,
"OrderId": 2,
"PaymentMethodId": 1,
"PaymentMethod": "sample string 3",
"Amount": 1.0,
"AmountReceived": 1.0,
"AmountOutstanding": 1.0
},
{
"PaymentId": 1,
"OrderId": 2,
"PaymentMethodId": 1,
"PaymentMethod": "sample string 3",
"Amount": 1.0,
"AmountReceived": 1.0,
"AmountOutstanding": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
<PaymentReceipt>
<Amount>1</Amount>
<AmountOutstanding>1</AmountOutstanding>
<AmountReceived>1</AmountReceived>
<OrderId>2</OrderId>
<PaymentId>1</PaymentId>
<PaymentMethod>sample string 3</PaymentMethod>
<PaymentMethodId>1</PaymentMethodId>
</PaymentReceipt>
<PaymentReceipt>
<Amount>1</Amount>
<AmountOutstanding>1</AmountOutstanding>
<AmountReceived>1</AmountReceived>
<OrderId>2</OrderId>
<PaymentId>1</PaymentId>
<PaymentMethod>sample string 3</PaymentMethod>
<PaymentMethodId>1</PaymentMethodId>
</PaymentReceipt>
</ArrayOfPaymentReceipt>