Skip to main content

Time tracking reports API 1.6.0

Base path: https://{controller_ip}/api/v1. API description version: 1.6.0.

Examples use placeholder values for passwords, tokens, UUIDs, addresses and secrets. Replace them with values from your controller before sending requests.

Section methods

MethodPath
GET/tt_report/configs
GET/tt_report/configs/{uuid}
POST/tt_report/configs
PUT/tt_report/configs/{uuid}
DELETE/tt_report/configs/{uuid}

GET /tt_report/configs

Request example

curl -k -X GET "https://{controller_ip}/api/v1/tt_report/configs" \
-H "Authorization: Bearer <token>"

Response command example

curl -k -sS -X GET "https://{controller_ip}/api/v1/tt_report/configs" \
-H "Authorization: Bearer <token>" | jq .

Response example

{
"data": [],
"meta": {
"api_version": "1.6.0",
"path": "/tt_report/configs"
}
}

GET /tt_report/configs/{uuid}

Request example

curl -k -X GET "https://{controller_ip}/api/v1/tt_report/configs/{uuid}" \
-H "Authorization: Bearer <token>"

Response command example

curl -k -sS -X GET "https://{controller_ip}/api/v1/tt_report/configs/{uuid}" \
-H "Authorization: Bearer <token>" | jq .

Response example

{
"data": [],
"meta": {
"api_version": "1.6.0",
"path": "/tt_report/configs/{uuid}"
}
}

POST /tt_report/configs

Request example

curl -k -X POST "https://{controller_ip}/api/v1/tt_report/configs" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data-raw '{
"name": "Time tracking report",
"period": {
"from": "2026-06-01",
"to": "2026-06-16"
}
}'

Request body example

{
"name": "Time tracking report",
"period": {
"from": "2026-06-01",
"to": "2026-06-16"
}
}

Response command example

curl -k -sS -X POST "https://{controller_ip}/api/v1/tt_report/configs" \
-H "Authorization: Bearer <token>" | jq .

Response example

{
"status": "success",
"data": {
"uuid": "<uuid>"
}
}

PUT /tt_report/configs/{uuid}

Request example

curl -k -X PUT "https://{controller_ip}/api/v1/tt_report/configs/{uuid}" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data-raw '{
"name": "Time tracking report",
"period": {
"from": "2026-06-01",
"to": "2026-06-16"
}
}'

Request body example

{
"name": "Time tracking report",
"period": {
"from": "2026-06-01",
"to": "2026-06-16"
}
}

Response command example

curl -k -sS -X PUT "https://{controller_ip}/api/v1/tt_report/configs/{uuid}" \
-H "Authorization: Bearer <token>" | jq .

Response example

{
"status": "success",
"data": {
"uuid": "<uuid>"
}
}

DELETE /tt_report/configs/{uuid}

Request example

curl -k -X DELETE "https://{controller_ip}/api/v1/tt_report/configs/{uuid}" \
-H "Authorization: Bearer <token>"

Response command example

curl -k -sS -X DELETE "https://{controller_ip}/api/v1/tt_report/configs/{uuid}" \
-H "Authorization: Bearer <token>" | jq .

Response example

{
"status": "success",
"deleted": true
}