Skip to content

Absences ​

Beta

Salaxy API v04 is in beta: it may change, and it is not used in production yet. Build on v03, the current version.

Absences Controller provides CRUD functionality as well as additional methods for Absences objects

Salaxy API v04 (beta), Finland only. 8 operations. Interactive version: REST API reference. Machine-readable: OpenAPI document.

The reference wins

These pages are generated from the OpenAPI document. If a guide and this reference disagree about a field, follow the reference. Error responses are not in the document — see Errors.

GET /v04/api/absences ​

Performs an OData query to the search index.

ParameterInTypeRequiredDescription
$searchquerystring
$filterquerystringSpecifies the logic to pull back a subset of records.
$orderbyquerystringSpecifies the values used to sort the collection of entries.
$selectquerystringThe $select system query option allows the clients to requests a limited set of properties for each entry.
$topquerynumberSpecifies the subset of entries by count.
$skipquerynumberSpecifies the count of entries to skip.
$countquerybooleanIndicates whether or not to include a total entry count.

Response: PageResultOfApiListItem

Try it: interactive reference

POST /v04/api/absences ​

Updates or creates a new object

Request body: WorkerAbsences (required)

Response: WorkerAbsences

Try it: interactive reference

GET /v04/api/absences/{id} ​

Gets a single object based on identier

ParameterInTypeRequiredDescription
idpathstringyesUnique identifier for the object

Response: WorkerAbsences

Try it: interactive reference

DELETE /v04/api/absences/{id} ​

Deletes a Absences object from the storage

ParameterInTypeRequiredDescription
idpathstringyesUnique identifier for the object.

Response: string

Try it: interactive reference

GET /v04/api/absences/new ​

Factory method that creates a new object

Response: WorkerAbsences

Try it: interactive reference

GET /v04/api/absences/latest ​

Gets latest Absences objects.

Response: WorkerAbsences[]

Try it: interactive reference

GET /v04/api/absences/employment/{employmentId} ​

Gets the Absences object for a specific Employment relation.

ParameterInTypeRequiredDescription
employmentIdpathstringyesThe employment relation for which to list the Absences.

Response: WorkerAbsences

Try it: interactive reference

GET /v04/api/absences/employment/set ​

Returns Absences objects for given Employment relations.

ParameterInTypeRequiredDescription
employmentIdsquerystring[]Set of employmentIds for which to get the Absences objects.

Response: WorkerAbsences[]

Try it: interactive reference

Every page is also available as Markdown: add .md to its URL — a folder page such as white-label/ is white-label/index.md. Index for LLMs: llms.txt. Questions: Support.