Retrieve a list
Introduction
You can retrieve a list of all sectors in the system.
Tip
Check the Swagger page for more technical information on the endpoints.
Endpoint details
GET
https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/sectors
Response properties
This list of properties is returned by this endpoint.
| Property | Type | Description |
|---|---|---|
changeVersion |
string | Property to indicate the order of changes. |
id |
integer | Unique identifier for the sector. |
name.default |
string | Default name of the sector. |
name.translations |
object | Translated names for supported languages. |
Filters
This endpoint does not require any filter parameters. It returns all sectors in the system.
External references
This endpoint does not require any external references.
Examples
Retrieve all sectors
Example to retrieve all sectors that have been configured in Protime:
GET
https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/sectors