Get workplaces
Returns a paged list of the workplaces in the key's environment, 100 per page.
Use identification when you set the workplaces on a group. internalCode is
your own code for the workplace, if one was set in Proof.
Query parameters
| Name | Type | Required | Example |
|---|---|---|---|
pageZero-based page index. Defaults to 0. | integer | optional | 0 |
Responses
200OK
| Field | Type |
|---|---|
itemsWorkplaces on this page. | array |
filterPaging state for this query. | object |
{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"identification": "WP-0042",
"name": "Antwerp North site",
"address": "Noorderlaan 1, 2030 Antwerpen",
"description": "Main northern construction site",
"internalCode": "EQ-ANR-N"
}
],
"filter": {
"page": 0,
"pageSize": 100,
"totalCount": 1,
"sortAscending": true,
"sortString": "",
"searchString": ""
}
}401Unauthorized. Missing or invalid service key.
403Forbidden. The key lacks the required scope.