curl --request GET \
--url https://{host}/work-locations/public/api/user-locations \
--header 'Authorization: <authorization>'{
"count": 123,
"items": [
{
"id": 123,
"ownerId": 123,
"workLocationId": 123,
"date": "2023-12-25",
"position": "FullDay",
"status": "Pending",
"areaId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
]
}Query employees work locations
curl --request GET \
--url https://{host}/work-locations/public/api/user-locations \
--header 'Authorization: <authorization>'{
"count": 123,
"items": [
{
"id": 123,
"ownerId": 123,
"workLocationId": 123,
"date": "2023-12-25",
"position": "FullDay",
"status": "Pending",
"areaId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
]
}API key. Value must be formatted like so: lucca application={api_key}.
Start date of the period to retrieve, format YYYY-MM-DD
End date of the period to retrieve, format YYYY-MM-DD
Identifier of the work location. One or more integers separated by commas.
^(\d+(,\d+)*)?$Identifier of the owner. One or more integers separated by commas.
^(\d+(,\d+)*)?$Page number
x >= 1Page size
1 <= x <= 1000Return total items count (across all pages).
count Was this page helpful?