Documentation
Organization Structure API
- Axis-sections
- Departments
- Legal-Units
- Establishments
Core HR API
- Employees Directory
- Guides
Cleemy Expenses API
- Expense-temp-items
- Expense-claims
- Expense-claim-items
- Exports
Cleemy Invoices API
- Guides
Timmi Absences API
- Leaves
- Leave-requests
- Sick-leaves
- Imports
- Guides
Timmi Office API
- User-locations
- Work-locations
Timmi Project API
- Clients
- Projects
- Project services
- Organizations
- Financials
Timmi Settings API
- UserDates
- Workcycle-exceptions
- Working-time-arrangement
Timmi Timesheet API
- Time-entries
- Timesheets
- Reports
- Guides
Pagga Mealvouchers API
- Statutory
- Computation
Pagga Remuneration API
- Fixed-natures
- Fixed-items
- Variable-natures
- Variable-items
Poplee Training API
- Training-demands
- Realized-trainings
List workLocations
Query all available work locations
curl --request GET \
--url https://{host}/work-locations/public/api/work-locations \
--header 'Authorization: <authorization>'
{
"count": 123,
"items": [
{
"id": 123,
"name": "<string>",
"type": "Office",
"office": {
"capacity": 123,
"showAreas": true,
"areas": [
{
"id": 123,
"name": "<string>",
"capacity": 123,
"floorKey": 123
}
],
"floors": [
{
"key": 123,
"name": "<string>",
"position": 123
}
]
},
"isActive": true
}
]
}
Headers
API key. Value must be formatted like so: lucca application={api_key}
.
Query Parameters
Page number
x >= 1
Page size
1 <= x <= 10
Return total items count (across all pages).
count
Response
Represents a location an employee can work from
The unique id of the WorkLocation.
The name of the WorkLocation
Type of WorkLocation. It can be physical, like an office, but also abstract, RemoteWork is for telecommuting which has specific rules in Timmi Office, and Other allows to suggest any other locations, like on the go.
Office
, RemoteWork
, Other
Indicates whether the location is currently active
The office details, non-null if the location type is "Office"
The number of people the office can accommodate
Whether to show specific areas within the office
A office can be divided into different areas defined by a name and capacity
Was this page helpful?
curl --request GET \
--url https://{host}/work-locations/public/api/work-locations \
--header 'Authorization: <authorization>'
{
"count": 123,
"items": [
{
"id": 123,
"name": "<string>",
"type": "Office",
"office": {
"capacity": 123,
"showAreas": true,
"areas": [
{
"id": 123,
"name": "<string>",
"capacity": 123,
"floorKey": 123
}
],
"floors": [
{
"key": 123,
"name": "<string>",
"position": 123
}
]
},
"isActive": true
}
]
}