Returns a paginated list of employments.
Security: OAuth 2.0
employments.readonlyemployments.readwriteThe Lucca API implements the oAuth 2 protocol with the client-credentials-flow. Refer to RFC8725.
Set the API version.
2024-11-01 "2024-11-01"10Only execute the request if current cached version of the resource does not match the one given here.
Only execute the request if current cached version of the resource matches the one given here. Useful to avoid concurrency conflicts.
List of compression algorithms you support.
Filter out employments on their IDs.
1001Filter out employments on their remoteId.
1001Filter out employments on their employee IDs.
1001Filter out employments on the legal-entity IDs.
1001Filter out employments on their employment-template IDs.
1001Filter out employments on their start.date (strict equality).
Filter out employments on their status. Read-only. The employee status is calculated from the employee's employments.
active, upcoming, deactivated Filter out employments on their start.date (range). ISO 8601 formatted date-range string. ISO 8601 formatted date-range string. Examples:
2024-01-01--2024-12-31: from Jan. 1st 2024 until Dec. 31st 2024 (included)...--2024-12-31: until Dec. 31st 2024.2024-01-01--..: from Jan. 1st 2024.Filter out employments on their end.date (strict equality).
Filter out employments on their end.date (range). ISO 8601 formatted date-range string. ISO 8601 formatted date-range string. Examples:
2024-01-01--2024-12-31: from Jan. 1st 2024 until Dec. 31st 2024 (included)...--2024-12-31: until Dec. 31st 2024.2024-01-01--..: from Jan. 1st 2024.Order results by instruction. Read more about sorting. Default: id.
id, -id, start.date, -start.date, end.date, -end.date Cursor of the page to retrieve. Read more about pagination.
Number of items per page. Defaults to 25. Maximum is 100. Read more about pagination.
0 <= x <= 100Include 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 be null when you do not have access to the resource (or action).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 OK
A collection of employment resources.
"employments"Paginated list of employment resources.
100Total number of employment resources across all pages that satisfy query parameters.
x >= 0Links to related resources