API
User Manual
  • Introduction to API v2
  • Guides
    • Getting started
    • Authorization
    • Delivery Notes Integrations
  • API Reference
    • General
      • Data types
        • Validation
        • Prices
      • Schema
      • Flags
      • ETags
        • ETag examples
      • Filtering
      • Sorting
      • Paging
      • Methods
      • HTTP Status Codes
    • Enums
      • Payment methods
      • Units
      • Order status
  • Entity
    • Attendance
    • Branch
    • Category
    • Cloud
    • Course
    • Customer
    • Customer Account
    • Customer Account Log
    • Daily Menu
    • Daily Menu Product
    • Delivery Note
    • Discount group
    • EET subject
    • Employee
    • Money log
    • Order
    • Order item
    • Product
    • Product Customization
    • Product Ingredient
    • Reservation
    • Stock Packaging
    • Supplier
    • Table
    • Tag
    • Tax (VAT rates)
    • Warehouse
    • Warehouse Branch
  • Others
    • Reports
      • Base Sales Report
    • POS actions
    • Release notes
    • Breaking changes
    • Webhook
    • Third-party libraries
  • Migration
    • Migrating from API v1
    • API v1 Services
      • Branch Service
      • Category Service
      • Customer Service
      • Employee Service
      • OAuth2 Login Service
      • POS action service
      • Product Service
      • Reservation Service
      • Sale Service
      • Stock Service
      • Supplier Service
      • Tableseat Service
      • Tag Service
      • Warehouse Service
Powered by GitBook
On this page
  • Table schema
  • Get tables
  • Get table
  • Options tables
  • Options table

Was this helpful?

Export as PDF
  1. Entity

Table

PreviousSupplierNextTag

Last updated 2 years ago

Was this helpful?

Table schema

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

_branchId integer? 📶 EQUALS,ENUM

_cloudId integer

_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

Query Parameters

Name
Type
Description

sort

string

filter

string

page

integer

limit

integer

Headers

Name
Type
Description

If-None-Match

string

ETag to return results only if changed.

Authorization*

string

Bearer accessToken

[
 {
  // table schema
 }
]

Get table

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

Path Parameters

Name
Type
Description

tableId*

integer

cloudId*

integer

Headers

Name
Type
Description

If-None-Match

string

ETag to return results only if changed.

Authorization*

string

Bearer accessToken

Options tables

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

Path Parameters

Name
Type
Description

cloudId*

integer

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Options table

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

Path Parameters

Name
Type
Description

tableId*

integer

cloudId*

integer

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Branch ID
Cloud ID