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/v2/users/access/customers-projects: Query customer and project rights

With this resource you can read access rights for customers and projects. Editing is currently not possible.


Object type "customer_rights"

The object contains a list of all customers for whom the co-worker has the respective access right. True means the co-worker has this right for all of the customer's projects. If the co-worker has the right in question only for some of the customer's projects, a list of those projects is included.

{
    "<customers_id>": true|[object of type project_rights],
    "<customers_id>": true|[object of type project_rights],
    ...
{

Object type "project_rights"

The object contains a list of all projects of a certain customer for which the co-worker has the respective access right.

{
    "<projects_id>": true,
    "<projects_id>": true,
    ...
{

Query customer and project rights

Request
GET /api/v2/users/<users_id>/access/customers-projects
Response
{
    "add": true|false|[object of type customer_rights],
    "report": true|false|[object of type customer_rights],
    "edit": true|false|[object of type customer_rights]
}