Methods

Common Methods

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

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

cloudId

integer

ID of the cloud.

entity

string

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

Query Parameters

NameTypeDescription

filter

string

Filter conditions.

sort

string

Sort parameter.

page

integer

Page to start with.

limit

integer

Page size (100 records maximum)

Headers

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

cloudId

integer

ID of the cloud.

entity

string

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

Headers

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

cloudId

integer

ID of the cloud.

entity

string

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

Headers

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

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"}

Options

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

Path Parameters

NameTypeDescription

cloudId

integer

ID of the cloud.

entity

string

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

Headers

NameTypeDescription

Authorization

string

Bearer accessToken

Options with Entity ID

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

Path Parameters

NameTypeDescription

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

NameTypeDescription

Authorization

string

Bearer accessToken

Last updated