GET
/
work-locations
/
public
/
api
/
user-locations
/
{id}

Path Parameters

id
integer
required

unique 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
required

The unique id of the userLocation.

ownerId
integer
required

The id of the employee.

workLocationId
integer
required

The id of the WorkLocation.

date
string
required

The date on which the employee works at this location.

position
enum<string>
required

Specify the day period this userLocation is effective.

Available options:
FullDay,
FirstHalf,
SecondHalf
status
enum<string>
required

The 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.