REST-API

The clockodo API allows you to connect clockodo to other systems. Accounting and project management applications or proprietary shell scripts are examples of useful mash-ups with clockodo.

api/services: Manage services


Object type „service“

Parameter Type Description
id integer ID of the service
name string Name of the service
number string|null Service number
active boolean Is the service active?
note string|null Note for the service

List services

Request
GET /api/services
Response
{
  "services": 
  {
    [object of type service],
    [object of type service], 
    ...
  }
}

Get service

Request
GET /api/services/[ID]
Response
{
  "service": [object of type service]
}

Add services

Request
POST /api/services
Required parameters name
Optional parameters number, active, note
Response
{
  "service": [object of type service]
}

Edit services

Request
PUT /api/services/[ID]
Required parameters keine
Optional parameters name, number, active, note
Response
{
  "service": [object of type service]
}

Deactivate services

Request
DELETE /api/services/[ID]
Response
{
  "service": [object of type service]
}