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
  • Recommended Headers
  • Common Endpoints
  • Get Entity by ID
  • Filter&Sort Entities
  • Update an Entity
  • Create New Entities
  • Replace Single Entity
  • Replace Many Entities
  • Delete an Entity
  • Options
  • Options with Entity ID

Was this helpful?

Export as PDF
  1. API Reference
  2. General

Methods

Common Methods

Recommended Headers

Header

Value

Accept

application/json

Content-Type

application/json

Common Endpoints

Get Entity by ID

GET https://api.dotykacka.cz/v2/clouds/:cloudId/:entity/:entityId

Get a single entity identified by its ID.

Path Parameters

Name
Type
Description

cloudId

integer

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

entityId

integer

ID of the entity to get.

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

If-None-Match

string

ETag to return results only if changed.

Filter&Sort Entities

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

Get a custom-sorted paginated list of entities matching the filter criteria. Without applying a filter over deleted, only non-deleted entities are output.

Path Parameters

Name
Type
Description

cloudId

integer

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

Query Parameters

Name
Type
Description

filter

string

Filter conditions.

sort

string

Sort parameter.

page

integer

Page to start with.

limit

integer

Page size (100 records maximum)

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

If-None-Match

string

ETag to return results only if changed.

Update an Entity

PATCH https://api.dotykacka.cz/v2/clouds/:cloudId/:entity/:entityId

Update a single entity identified by its ID.

Path Parameters

Name
Type
Description

cloudId

integer

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

entityId

integer

ID of the entity to update.

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

If-Match

string

ETag to update only if not changed.

Create New Entities

POST https://api.dotykacka.cz/v2/clouds/:cloudId/:entity

Create a list of new entities.

Path Parameters

Name
Type
Description

cloudId

integer

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

Replace Single Entity

PUT https://api.dotykacka.cz/v2/clouds/:cloudId/:entity/:entityId

Replace a single entity identified by its ID.

Path Parameters

Name
Type
Description

cloudId

integer

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

entityId

integer

ID of the entity to replace.

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

If-Match

string

ETag required when updating an entity. ETag ignored when inserting new entity.

Replace Many Entities

PUT https://api.dotykacka.cz/v2/clouds/:cloudId/:entity

Replace a list of entities.

Path Parameters

Name
Type
Description

cloudId

integer

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

If-Match

string

ETag required when updating at least a single entity. ETag ignored when inserting new entities only.

Delete an Entity

DELETE https://api.dotykacka.cz/v2/clouds/:cloudId/:entity/:entityId

Delete a single entity identified by its ID.

Path Parameters

Name
Type
Description

cloudId

string

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

entityId

string

ID of the entity to delete.

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

If-Match

string

ETag ignored (temporarily) when deleting an entity.

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
{    "message": "Ain't no cake like that."}

Options

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

Path Parameters

Name
Type
Description

cloudId

integer

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

Options with Entity ID

OPTIONS https://api.dotykacka.cz/v2/clouds/:cloudId/:entity/:entityId

Path Parameters

Name
Type
Description

cloudId

integer

ID of the cloud.

entity

string

Name of the entity type, f.e. "suppliers".

entityId

integer

ID of the entity to get the options for.

Headers

Name
Type
Description

Authorization

string

Bearer accessToken

PreviousPagingNextHTTP Status Codes

Last updated 2 years ago

Was this helpful?