{
"id": "32",
"type": "department",
"url": "https://example.ilucca.net/lucca-api/departments/32",
"name": "Finances",
"description": null,
"remoteId": "FIN",
"isArchived": false,
"parent": null,
"level": 1,
"manager": {
"id": "416",
"type": "employee",
"url": "https://example.ilucca.net/lucca-api/employees/416"
},
"sortOrder": 2,
"owningApplication": null,
"links": {
"activeEmployees": {
"href": "https://example.ilucca.net/lucca-api/employees?applicableJobPosition.department.id=32"
}
}
}A department represents a subdivision of the employee workforce, most often erected around the type of activity they do.
Departments are a tree-like structure, as any department may be child to another.
Note: contrary to most resources, departments are not attached to business-establishments. This means:
1"department"Identifier of this object in a third-party software.
255If this department is archived. Only possible if there are no more employees attached.
1 - 255Reference to the department this department is a child of.
Show child attributes
Read-only. Depth level of this department in the department tree. At level "1", the department has no parent.
x >= 1Reference to the employee that acts as the Head of this department.
Show child attributes
Index (0-based) of the department among its siblings.
x >= 0Can only be set by an authenticated Lucca application. When not null, indicates that this department is read-only, given that it is managed by another application (designated by its ID) that is charged with its synchronization. Any write request attempt made from anyone other than the application will be rejected with a 403 Forbidden error.
1Show child attributes
Was this page helpful?