Skip to content

Table

Table schema

id long?
Table ID - cannot be null in PUT/PATCH methods
📶 EQUALS,ENUM

_branchId integer?
Branch ID
📶 EQUALS,ENUM

_cloudId integer
Cloud ID

_tableGroupId long?
Table group
📶 EQUALS,ENUM

_sellerId long?
Seller ID
📶 EQUALS,ENUM

display boolean
Table displayed
📶 EQUALS, ENUM 🔽 BOTH

enabled boolean
Table enabled
📶 EQUALS, ENUM

locationName string
Location name
📶 EQUALS,ENUM 🔽 BOTH

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
📶 EQUALS,NUMBER 🔽 BOTH

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 tables

GET https://api.dotykacka.cz/v2/clouds/:cloudId/tables

Path Parameters

Name Type Description
cloudId* integer

Header Parameters

Name Type Description
If-None-Match string ETag to return results only if changed.
Authorization* string Bearer accessToken

Query Parameters

Name Type Description
sort string
filter string
page integer
limit integer

Responses

[
 {
  // table schema
 }
]

Get table

GET https://api.dotykacka.cz/v2/clouds/:cloudId/tables/:tableId

Path Parameters

Name Type Description
tableId* integer
cloudId* integer

Header Parameters

Name Type Description
If-None-Match string ETag to return results only if changed.
Authorization* string Bearer accessToken

Responses


Options tables

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/tables

Path Parameters

Name Type Description
cloudId* integer

Header Parameters

Name Type Description
Authorization* string Bearer accessToken

Responses


Options table

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/tables/:tableId

Path Parameters

Name Type Description
tableId* integer
cloudId* integer

Header Parameters

Name Type Description
Authorization* string Bearer accessToken

Responses