GET
/
work-locations
/
public
/
api
/
user-locations
curl --request GET \
  --url https://{account}-{sandboxName}.sandbox.{server}.luccasoftware.com/work-locations/public/api/work-locations/public/api/user-locations
{
  "count": 123,
  "items": [
    {
      "id": 123,
      "ownerId": 123,
      "workLocationId": 123,
      "areaId": 123,
      "date": "2023-12-25",
      "position": "FullDay",
      "status": "Pending"
    }
  ]
}

Query Parameters

from
string

Start date of the period to retrieve, format YYYY-MM-DD

to
string

End date of the period to retrieve, format YYYY-MM-DD

workLocationId
string

Identifier of the work location. One or more integers separated by commas.

ownerId
string

Identifier of the owner. One or more integers separated by commas.

page
integer
default:
1

Page number

Required range: x > 1
limit
integer
default:
10

Page size

Required range: 1 < x < 10
fields.root
enum<string>

Return total items count (across all pages).

Available options:
count

Response

200
application/json
OK
count
integer
items
object[]