Retrieve a job-position
Retrieve an job-position by its ID.
Access
Access
EstablishmentsThis API endpoint will filter out results based on accessible business-establishments.You may only access job-positions belonging to employees whose applicable business-establishments are accessible to you.
Authorizations
The Lucca API implements the oAuth 2 protocol with the client-credentials-flow. Refer to RFC8725.
Headers
Set the API version.
2024-11-01 "2024-11-01"10"2024-11-01"
Query Parameters
Include metadata:
embedded: the partial or complete representations of related resources (e.g. the employee the resource belongs to).links: links to related resources or actions (e.g. approving a leave-request). May benullwhen you do not have access to the resource (or action). Includes the download links of the files the resource references, underlinks.files.totalCount: only applicable on collections (i.e. lists of resources), gives the total number of items across all pages.
Read more about expanding responses.
embedded, links, totalCount Response
OK
A job-position resource.
Reference to an employment resource.
Read-only. The employee status is calculated from the employee's employments.
- active: employee has an employment as of today.
- upcoming: employee currently has no employment but will have one in the future.
- deactivated: employee used to have an employment but no longer does.
active, upcoming, deactivated "active"
Effective date of this job-position for this employee.
Cannot be outside the range of the employment.
The startsOn of the first job-position of an employment follows the employment start.date: change the employment start instead, as updating it directly returns a 400.
This should be considered "applicable" based on the related employment business-establishment timezone.
^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])$Read-only. End date (included) of this job-position effectiveness.
Is calculated from the startsOn property of the closest next job-position, or the endsOn date of the parent employment.
This should be considered "applicable" based on the related employment business-establishment timezone.
Must be greater or equal than StartsOn date.
^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])$Reference to a business-establishment resource.
Reference to a job-qualification resource.
Reference to an occupation-category resource.
Reference to a department resource.
Reference to a file resource.
List of attributes that changed compared with this employee previous job-position, even if said job-position was on another employment and/or not immediately sequential.
List of attributes that can change for a job-position.
remoteId, businessEstablishment, jobTitle, jobQualification, manager, occupationCategory, workingTimeArrangement, department, document, notes Read-only. UTC timestamp of the moment this object was last updated.
Set upon creation, update or deletion of the object.
The UTC offset may be written Z or +00:00, with up to 7 fractional digits of a second.
"2023-01-23T12:45:23.1234567+00:00"
"2023-01-23T12:45:23.1234Z"