User-locations
Get specific userLocation
Get specific userLocation by id
GET
/
work-locations
/
public
/
api
/
user-locations
/
{id}
Path Parameters
id
integer
requiredunique id of the userLocation
Required range:
x > 1
Response
200 - application/json
Represents the association of an employee and a workLocation on a given date and position in the day.
id
integer
requiredThe unique id of the userLocation.
ownerId
integer
requiredThe id of the employee.
workLocationId
integer
requiredThe id of the WorkLocation.
date
string
requiredThe date on which the employee works at this location.
position
enum<string>
requiredSpecify the day period this userLocation is effective.
Available options:
FullDay
, FirstHalf
, SecondHalf
status
enum<string>
requiredThe status of this userLocation.
Available options:
Pending
, Deleted
, Approved
, Denied
, Confirmed
areaId
integer | null
The id of the specific area in the office. Left null whenever the Work Location has no areas.
Was this page helpful?