Table

Table schema

id long? Table ID - cannot be null in PUT/PATCH methods ๐Ÿ“ถ EQUALS,ENUM

_branchId integer? Branch ๐Ÿ“ถ EQUALS,ENUM

_cloudId integer Cloudโ€‹

_tableGroupId long? Table group ๐Ÿ“ถ EQUALS,ENUM

_sellerId long? Seller ๐Ÿ“ถ EQUALS,ENUM

display boolean Table displayed ๐Ÿ“ถ EQUALS, ENUM ๐Ÿ”ฝ BOTH

enabled boolean Table enabled ๐Ÿ“ถ EQUALS, ENUM

locationName string Location name

name string(180) Table name - must not be empty ๐Ÿ“ถ STRING ๐Ÿ”ฝ BOTH

positionX integer? Table position X

positionY integer? Table position Y

rotation integer? Table rotation angle

seats integer? Number of seats

tags string[] Tags list for tables ๐Ÿ“ถ EQUALS, ENUM

type enum Table type ๐Ÿ“ถ EQUALS, ENUM

versionDate timestamp? Last modification date and time ๐Ÿ“ถ EQUALS, ENUM, NUMBER ๐Ÿ”ฝ BOTH

Table.type (enum)

// representation as string
SQUARE,
SQUARE6,
CIRCLE2,
CIRCLE4,
DELIVERY,
CHAIR_SINGLE,
ROUND,
DOOR,
GENERIC,
CAR1,
CAR2

JSON response

{
"_branchId": <integer>,
"_cloudId": <integer>,
"_sellerId": <long>,
"_tableGroupId": <long>,
"display": <boolean>,
"enabled": <boolean>,
"id": <long>,
"locationName": <string>,
"name": <string>,
"positionX": <integer>,
"positionY": <integer>,
"rotation": <integer>,
"seats": <integer>,
"tags": <string[]>,
"type": <enum>,
"versionDate": <timestamp>
}

get
Get tables

https://api.dotykacka.cz/v2/clouds/:cloudId/tables
Request
Response
Request
Path Parameters
cloudId
required
integer
โ€‹
Headers
If-None-Match
optional
string
ETag to return results only if changed.
Authorization
required
string
Bearer accessToken
Query Parameters
sort
optional
string
โ€‹
filter
optional
string
โ€‹
page
optional
integer
โ€‹
limit
optional
integer
โ€‹
Response
200: OK
[
{
// table schema
}
]

โ€‹

get
Get table

https://api.dotykacka.cz/v2/clouds/:cloudId/tables/:tableId
Request
Response
Request
Path Parameters
tableId
required
integer
โ€‹
cloudId
required
integer
โ€‹
Headers
If-None-Match
optional
string
ETag to return results only if changed.
Authorization
required
string
Bearer accessToken
Response
200: OK
โ€‹

options
Options tables

https://api.dotykacka.cz/v2/clouds/:cloudId/tables
Request
Response
Request
Path Parameters
cloudId
required
integer
โ€‹
Headers
Authorization
required
string
Bearer accessToken
Response
200: OK
โ€‹

options
Options table

https://api.dotykacka.cz/v2/clouds/:cloudId/tables/:tableId
Request
Response
Request
Path Parameters
tableId
required
integer
โ€‹
cloudId
required
integer
โ€‹
Headers
Authorization
required
string
Bearer accessToken
Response
200: OK
โ€‹