EET subject

EET subject schema

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

_cloudId integer Cloud ID 🔽 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 regex. 📶 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

Query Parameters

Headers

Get EET subject

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

Path Parameters

Headers

{
    EET subject scheme...
}

Create EET subject

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

Path Parameters

Headers

Request Body

// 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

Headers

Request Body

// 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

Headers

Request Body

{
    "_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

Headers

Request Body

Delete EET subject

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

Path Parameters

Headers

Last updated