Departments


Introduction

The Protime API supports the catalog of departments.

Properties

Property Type Description
id integer Unique identifier for the department.
name.default string Default name of the department.
name.translations string A list of translated names for supported languages.
externalCode string External code for the department.

External references

It’s possible to use custom external references. More information can be found on the External references page

Endpoints

Below you can find the supported endpoints for this data collection.

GET a department by reference

You can retrieve a department by the internal ID or an external reference using the GET call.

GET https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/departments/{departmentReference}

GET a list of departments

You can retrieve a list of departments.

GET https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/departments