GET check/{siteId}/{checkId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteId | integer |
Required |
|
checkId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CheckDetailsName | Description | Type | Additional information |
---|---|---|---|
SiteId | integer |
None. |
|
TerminalId | integer |
None. |
|
CheckId | integer |
None. |
|
RawCheckId | integer |
None. |
|
Subtotal | decimal number |
None. |
|
Tax | decimal number |
None. |
|
Gratuity | decimal number |
None. |
|
GratuityOnTax | boolean |
None. |
|
Balance | decimal number |
None. |
|
OpenTime | string |
None. |
|
CloseTime | string |
None. |
|
Items | Collection of ICheckEntry |
None. |
Response Formats
application/json, text/json
Sample:
{ "SiteId": 1, "TerminalId": 2, "CheckId": 3, "RawCheckId": 4, "Subtotal": 5.0, "Tax": 6.0, "Gratuity": 7.0, "GratuityOnTax": true, "Balance": 10.0, "OpenTime": "sample string 11", "CloseTime": "sample string 12", "Items": [ { "DisplayName": "sample string 1", "EntryType": 2, "ItemId": 3, "Level": 4, "LongDisplayName": "sample string 5", "MenuItemId": 6, "ModifierCode": 7, "ModifierGroupId": 8, "Price": 9.1, "Seat": 10, "Units": 11.1 }, { "DisplayName": "sample string 1", "EntryType": 2, "ItemId": 3, "Level": 4, "LongDisplayName": "sample string 5", "MenuItemId": 6, "ModifierCode": 7, "ModifierGroupId": 8, "Price": 9.1, "Seat": 10, "Units": 11.1 } ] }
application/xml, text/xml
Sample:
<CheckDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.Site.Core.Contracts.Responses"> <Balance>10</Balance> <CheckId>3</CheckId> <CloseTime>sample string 12</CloseTime> <Gratuity>7</Gratuity> <GratuityOnTax>true</GratuityOnTax> <Items> <Item> <DisplayName>sample string 1</DisplayName> <EntryType>2</EntryType> <ItemId>3</ItemId> <Level>4</Level> <LongDisplayName>sample string 5</LongDisplayName> <MenuItemId>6</MenuItemId> <ModifierCode>7</ModifierCode> <ModifierGroupId>8</ModifierGroupId> <Price>9.1</Price> <Seat>10</Seat> <Units>11.1</Units> </Item> <Item> <DisplayName>sample string 1</DisplayName> <EntryType>2</EntryType> <ItemId>3</ItemId> <Level>4</Level> <LongDisplayName>sample string 5</LongDisplayName> <MenuItemId>6</MenuItemId> <ModifierCode>7</ModifierCode> <ModifierGroupId>8</ModifierGroupId> <Price>9.1</Price> <Seat>10</Seat> <Units>11.1</Units> </Item> </Items> <OpenTime>sample string 11</OpenTime> <RawCheckId>4</RawCheckId> <SiteId>1</SiteId> <Subtotal>5</Subtotal> <Tax>6</Tax> <TerminalId>2</TerminalId> </CheckDetails>