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
  • EET subject schema
  • Get EET subjects
  • Get EET subject
  • Create EET subject
  • Replace or create EET subjects
  • Replace or create EET subject
  • Partial update EET subject
  • Delete EET subject

Was this helpful?

Export as PDF
  1. Entity

EET subject

PreviousDiscount groupNextEmployee

Last updated 3 years ago

Was this helpful?

EET subject schema

id long? EET subject ID - cannot be null in PUT/PATCH methods 📶 EQUALS,ENUM 🔽 NONE

_cloudId integer 🔽 NONE

deleted boolean EET subject deleted - cannot be true in POST/PUT/PATCH methods 📶 EQUALS, ENUM 🔽 BOTH

enabled boolean EET subject enabled 📶 EQUALS, ENUM

name string(500) EET subject name 📶 STRING 🔽 BOTH

vatId string(50) EET subject VAT ID (CZ: DIČ, PL: NIP). Validation . 📶 EQUALS 🔽 NONE

vatPayer boolean EET subject is a VAT payer 📶 EQUALS, ENUM

versionDate timestamp? Last modification date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH

EET subject response

{
    "_cloudId": <integer>,
    "deleted": <boolean>,
    "enabled": <enabled>,
    "id": <long>,
    "name": <string>,
    "vatId": <string>,
    "vatPayer": <boolean>,
    "versionDate": <timestamp>
}

Get EET subjects

GET https://api.dotykacka.cz/v2/clouds/:cloudid/eet-subjects

Path Parameters

Name
Type
Description

cloudId*

integer

Query Parameters

Name
Type
Description

page

integer

limit

integer

sort

string

filter

string

Headers

Name
Type
Description

If-None-Match

string

ETag to return results only if changed.

Authorization*

string

Bearer accessToken

Get EET subject

GET https://api.dotykacka.cz/v2/clouds/:cloudId/eet-subjects/:eetSubjectId

Path Parameters

Name
Type
Description

cloudId*

integer

eetSubjectId*

integer

Headers

Name
Type
Description

If-None-Match

string

ETag to return results only if changed.

Authorization*

string

Bearer accessToken

{
    EET subject scheme...
}

Create EET subject

POST https://api.dotykacka.cz/v2/clouds/:cloudid/eet-subjects

Path Parameters

Name
Type
Description

eetSubjectId*

integer

cloudId*

integer

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Request Body

Name
Type
Description

array

Array of eet subjects. Maximum size 100.

// Body request minimmum
[
    {
        "_cloudId": <integer>,
        "deleted": <boolean>,
        "enabled": <enabled>,
        "name": <string>,
        "vatId": <string>,
        "vatPayer": <boolean>,
        "versionDate": <timestamp>
    }
]

Replace or create EET subjects

PUT https://api.dotykacka.cz/v2/clouds/:cloudid/eet-subjects

Path Parameters

Name
Type
Description

cloudId*

integer

Headers

Name
Type
Description

If-Match

string

ETag to update only if not changed.

Authorization*

string

Bearer accessToken

Request Body

Name
Type
Description

array

Array of eet subjects. Maximum size 100.

// Body request minimmum
[
    {
        "_cloudId": <integer>,
        "deleted": <boolean>,
        "enabled": <enabled>,
        "id": <long>,
        "name": <string>,
        "vatId": <string>,
        "vatPayer": <boolean>,
        "versionDate": <timestamp>
    }
]

Replace or create EET subject

PUT https://api.dotykacka.cz/v2/clouds/:cloudid/eet-subjects/:eetSubjectId

Path Parameters

Name
Type
Description

eetSubjectId*

integer

cloudId*

integer

Headers

Name
Type
Description

If-Match

string

ETag to update only if not changed.

Authorization*

string

Bearer accessToken

Request Body

Name
Type
Description

object

EET subject

{
    "_cloudId": <integer>,
    "deleted": <boolean>,
    "enabled": <enabled>,
    "id": <long>,
    "name": <string>,
    "vatId": <string>,
    "vatPayer": <boolean>,
    "versionDate": <timestamp>
}

Partial update EET subject

PATCH https://api.dotykacka.cz/v2/clouds/:cloudid/eet-subjects/:eetSubjectId

Path Parameters

Name
Type
Description

eetSubjectId*

integer

cloudId*

integer

Headers

Name
Type
Description

If-Match*

string

ETag to update only if not changed.

Authorization*

string

Bearer accessToken

Request Body

Name
Type
Description

object

EET subject

Delete EET subject

DELETE https://api.dotykacka.cz/v2/clouds/:cloudid/eet-subjects/:eetSubjectId

Path Parameters

Name
Type
Description

eetSubjectId*

integer

cloudId*

integer

Headers

Name
Type
Description

If-Match

string

ETag ignored (temporarily) when deleting an entity.

Authorization*

string

JWT token.

Cloud ID
regex