GET api/CustomerInvoices?CustomerID={CustomerID}&MerchantID={MerchantID}&TopCount={TopCount}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
Required |
|
| MerchantID | string |
Required |
|
| TopCount | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomersInvoices| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceID | string |
None. |
|
| LastTtotal | decimal number |
None. |
|
| Year_ | integer |
None. |
|
| Month_ | integer |
None. |
|
| Day_ | integer |
None. |
|
| InvoiceNumber | string |
None. |
|
| PeriodInDays | decimal number |
None. |
|
| Notes | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"InvoiceID": "sample string 1",
"LastTtotal": 2.0,
"Year_": 3,
"Month_": 4,
"Day_": 5,
"InvoiceNumber": "sample string 6",
"PeriodInDays": 7.0,
"Notes": "sample string 8"
},
{
"InvoiceID": "sample string 1",
"LastTtotal": 2.0,
"Year_": 3,
"Month_": 4,
"Day_": 5,
"InvoiceNumber": "sample string 6",
"PeriodInDays": 7.0,
"Notes": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomersInvoices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication_POS">
<CustomersInvoices>
<Day_>5</Day_>
<InvoiceID>sample string 1</InvoiceID>
<InvoiceNumber>sample string 6</InvoiceNumber>
<LastTtotal>2</LastTtotal>
<Month_>4</Month_>
<Notes>sample string 8</Notes>
<PeriodInDays>7</PeriodInDays>
<Year_>3</Year_>
</CustomersInvoices>
<CustomersInvoices>
<Day_>5</Day_>
<InvoiceID>sample string 1</InvoiceID>
<InvoiceNumber>sample string 6</InvoiceNumber>
<LastTtotal>2</LastTtotal>
<Month_>4</Month_>
<Notes>sample string 8</Notes>
<PeriodInDays>7</PeriodInDays>
<Year_>3</Year_>
</CustomersInvoices>
</ArrayOfCustomersInvoices>