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
| Name | Type | Description |
|---|---|---|
| cloudId* | integer |
Header Parameters
| Name | Type | Description |
|---|---|---|
| If-None-Match | string | ETag to return results only if changed. |
| Authorization* | string | Bearer accessToken |
Query Parameters
| Name | Type | Description |
|---|---|---|
| page | integer | |
| limit | integer | |
| sort | string | |
| filter | string |
Responses
Get EET subject
GET https://api.dotykacka.cz/v2/clouds/:cloudId/eet-subjects/:eetSubjectId
Path Parameters
| Name | Type | Description |
|---|---|---|
| cloudId* | integer | |
| eetSubjectId* | integer |
Header Parameters
| Name | Type | Description |
|---|---|---|
| If-None-Match | string | ETag to return results only if changed. |
| Authorization* | string | Bearer accessToken |
Responses
{
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 |
Header Parameters
| Name | Type | Description |
|---|---|---|
| Authorization* | string | Bearer accessToken |
Body Parameters
| Name | Type | Description |
|---|---|---|
| array | Array of eet subjects. Maximum size 100. |
Responses
// 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 |
Header Parameters
| Name | Type | Description |
|---|---|---|
| If-Match | string | ETag to update only if not changed. |
| Authorization* | string | Bearer accessToken |
Body Parameters
| Name | Type | Description |
|---|---|---|
| array | Array of eet subjects. Maximum size 100. |
Responses
// 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 |
Header Parameters
| Name | Type | Description |
|---|---|---|
| If-Match | string | ETag to update only if not changed. |
| Authorization* | string | Bearer accessToken |
Body Parameters
| Name | Type | Description |
|---|---|---|
| object | EET subject |
Responses
{
"_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 |
Header Parameters
| Name | Type | Description |
|---|---|---|
| If-Match* | string | ETag to update only if not changed. |
| Authorization* | string | Bearer accessToken |
Body Parameters
| Name | Type | Description |
|---|---|---|
| object | EET subject |
Responses
Delete EET subject
DELETE https://api.dotykacka.cz/v2/clouds/:cloudid/eet-subjects/:eetSubjectId
Path Parameters
| Name | Type | Description |
|---|---|---|
| eetSubjectId* | integer | |
| cloudId* | integer |
Header Parameters
| Name | Type | Description |
|---|---|---|
| If-Match | string | ETag ignored (temporarily) when deleting an entity. |
| Authorization* | string | JWT token. |
Responses