GET Cashup/{SiteID}?ZReportID={ZReportID}&ShowLocalCurrency={ShowLocalCurrency}
Returns Z Report Cashups
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteID | integer |
The Unique ID Of The Site To Get Sales Data For |
|
| ZReportID | integer |
The ZreportID for the Cashup |
|
| ShowLocalCurrency | boolean |
If currency should be displayed in the sites currency - default to true |
Body Parameters
None.
Response Information
Resource Description
Collection of CashupModel| Name | Type | Description | Additional information |
|---|---|---|---|
| Terminal | string |
None. |
|
| TenderType | string |
None. |
|
| ExpValue | decimal number |
None. |
|
| ActValue | decimal number |
None. |
|
| SalesArea | string |
None. |
|
| UserName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Terminal": "sample string 1",
"TenderType": "sample string 2",
"ExpValue": 1.0,
"ActValue": 1.0,
"SalesArea": "sample string 3",
"UserName": "sample string 4"
},
{
"Terminal": "sample string 1",
"TenderType": "sample string 2",
"ExpValue": 1.0,
"ActValue": 1.0,
"SalesArea": "sample string 3",
"UserName": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfCashupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Models">
<CashupModel>
<ActValue>1</ActValue>
<ExpValue>1</ExpValue>
<SalesArea>sample string 3</SalesArea>
<TenderType>sample string 2</TenderType>
<Terminal>sample string 1</Terminal>
<UserName>sample string 4</UserName>
</CashupModel>
<CashupModel>
<ActValue>1</ActValue>
<ExpValue>1</ExpValue>
<SalesArea>sample string 3</SalesArea>
<TenderType>sample string 2</TenderType>
<Terminal>sample string 1</Terminal>
<UserName>sample string 4</UserName>
</CashupModel>
</ArrayOfCashupModel>