List task statuses
Returns a paginated list of the task statuses, sorted by their order. The id is the value a
task carries as status_id.
Availability: Full version only — a Clock instance answers 404 for this endpoint.
Request
GET /api/v1/task-statuses
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/task-statuses' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'Query parameters
- Name
limit- Type
- integer, nullable
- Description
The number of records per page, 1 to 200. Defaults to 15.
- Name
page- Type
- integer, nullable
- Description
The page of results to return, counting from 1.
Response
{
"data": [
{
"id": "Offen",
"name": "Offen",
"description": "Angebot|en:offer",
"bookable": true,
"order": 0,
"color": "#664599",
"abrechnungsrelevant": 1
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"path": "string",
"per_page": 1,
"to": 1,
"total": 1
}
}Response fields
- Name
id- Type
- string
- Description
Identifier of the status, the value a task carries as
status_id.
- Name
name- Type
- string
- Description
Short name of the status.
- Name
description- Type
- string, nullable
- Description
Longer label describing what the status means.
- Name
bookable- Type
- boolean
- Description
Whether time can still be booked on a task carrying this status.
- Name
order- Type
- integer
- Description
Sort position of the status in selection lists.
- Name
color- Type
- string, nullable
- Description
Colour the status is rendered in, as a hex value.
- Name
abrechnungsrelevant- Type
- integer
- Description
Whether tasks with this status are included in billing runs.