Retrieve a list
Introduction
You can retrieve a list of all work locations 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/work-locations
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 work location. |
name.default |
string | Default name of the work location. |
name.translations |
object | Translated names for supported languages. |
description |
string | Description of the work location. |
Filters
This endpoint does not require any filter parameters. It returns all work locations in the system.
External references
This endpoint does not require any external references.
Examples
Retrieve all work locations
Example to retrieve all work locations that have been configured in Protime:
GET
https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/work-locations