curl --request GET \
--url https://{host}/work-locations/public/api/user-locations/{id} \
--header 'Authorization: <authorization>'{
"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"
}Get specific userLocation by id
curl --request GET \
--url https://{host}/work-locations/public/api/user-locations/{id} \
--header 'Authorization: <authorization>'{
"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}.
unique id of the userLocation
x >= 1OK
Represents the association of an employee and a workLocation on a given date and position in the day.
The unique id of the userLocation.
The id of the employee.
The id of the WorkLocation.
Date on which the employee works at this location.
Specify the day period this userLocation is effective.
FullDay, FirstHalf, SecondHalf The status of this userLocation.
Pending, Deleted, Approved, Denied, Confirmed The id of the specific area in the office. Left null whenever the Work Location has no areas.
Date at which the UserLocation was created.
Date at which the UserLocation was deleted.
Was this page helpful?