Skip to content

CalcCorrection ​

Beta

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

Endpoints for correcting readonly and paid calculations.

Salaxy API v04 (beta), Finland only. 6 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/calculations/correction ​

Returns list of readonly calculations for the current employer.

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: PageResultOfCalculationListItem

Try it: interactive reference

POST /v04/api/calculations/correction ​

Commits the pending changes to the calculation

Request body: CalculationCorrection (required)

Response: CalculationCorrection

Try it: interactive reference

GET /v04/api/calculations/correction/{id} ​

Gets a single calculation for correction based on identier

ParameterInTypeRequiredDescription
idpathstringyesUnique identifier for the calculation.

Response: CalculationCorrection

Try it: interactive reference

POST /v04/api/calculations/correction/refresh/{refresh} ​

Refreshes the calculation. Does not save the calculation.

ParameterInTypeRequiredDescription
refreshpathCalculationRefreshyesRefreshable logical part of the calculation.

Request body: CalculationCorrection (required)

Response: CalculationCorrection

Try it: interactive reference

GET /v04/api/calculations/correction/{id}/document-flow ​

Returns document flow for the given calculation.

ParameterInTypeRequiredDescription
idpathstringyesId of the calculation

Response: DocumentFlowItem

Try it: interactive reference

GET /v04/api/calculations/correction/snapshot/categories ​

Lists all distinct categories for snapshots.

Response: string[]

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.