Timetracking statuses API

List timetracking statuses

GET /timesheet_status
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
Name Required Type Description
order_by optional string Sorting
limit optional integer Limit
offset optional integer Offset
callback optional string Javascript callback

The following sort parameters may be applied:

  • name
  • id

The following scopes are needed:

  • monitoring_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 164
Content-Type: application/json
[
  {
    "id": 1,
    "name": "lib.model.monitoring_status.Offen"
  },
  {
    "id": 2,
    "name": "lib.model.monitoring_status.In Arbeit"
  },
  {
    "id": 3,
    "name": "lib.model.monitoring_status.Erledigt"
  }
]

Search timetracking statuses

POST /timesheet_status/search
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
[
  {
    "field": "name",
    "value": "Erledigt"
  }
]
Name Required Type Description
order_by optional string Sorting
limit optional integer Limit
offset optional integer Offset
callback optional string Javascript callback

The following sort parameters may be applied:

  • id
  • name
Name Required Type Description
name optional string

The following scopes are needed:

  • monitoring_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 56
Content-Type: application/json
[
  {
    "id": 3,
    "name": "lib.model.monitoring_status.Erledigt"
  }
]

Show timetracking status

GET /timesheet_status/1
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
Name Required Type Description
callback optional string Javascript callback

The following scopes are needed:

  • monitoring_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 51
Content-Type: application/json
{
  "id": 1,
  "name": "lib.model.monitoring_status.Offen"
}