adsum API, reporting package (1.0.0)

Download OpenAPI specification:

License: GPL-2.0-or-later

The operations of the reporting package, merged into the published contract when the package is installed (see WebVision\Adsum\Core\Shared\Api\Contract\OpenApiDocument). Linted on its own.

Reporting

Reports, exports, subscriptions and the payroll export.

List my favourite reports that I may run now, oldest first

Favourites of reports the caller may no longer run are kept but not listed, and are listed again once the access returns. Favourites are private: nobody else lists them.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Mark a report I may run as a favourite, at most 10 per company

Adding a favourite twice keeps one. An eleventh favourite yields 422 with the code favouriteLimitReached.

Authorizations:
bearerAuthsessionCookie
path Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$

Identifier of a report definition, e.g. attendance-summary.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Remove a report from my favourites

Authorizations:
bearerAuthsessionCookie
path Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$

Identifier of a report definition, e.g. attendance-summary.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the last 10 distinct reports I ran in the company, newest first

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List my report collections by name

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Create a named collection of reports in a chosen order

Names are unique per user and company (409); at most 50 collections of at most 100 reports each. An unknown report yields 422 with a violation on reportIds. Collections are private.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
name
required
string [ 1 .. 100 ] characters
reportIds
required
Array of strings <= 100 items [ items^[a-z][a-z0-9-]{1,63}$ ]

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "reportIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "reportIds": [
    ]
}

Rename a collection of mine or change its reports

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
name
string [ 1 .. 100 ] characters
reportIds
Array of strings <= 100 items [ items^[a-z][a-z0-9-]{1,63}$ ]

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "reportIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "reportIds": [
    ]
}

Delete a collection of mine

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List my filter presets of a report

Authorizations:
bearerAuthsessionCookie
query Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Save a named set of parameters for a report I may run

The parameters are checked against the report (422). Names are unique per user and report (409), at most 50 presets per report (422 with the code presetLimitReached). Presets are private.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
reportId
required
string^[a-z][a-z0-9-]{1,63}$
name
required
string [ 1 .. 100 ] characters
object (ReportParameters)

Values keyed by the parameter names of the definition. Names and values outside the definition's allow-list are rejected, never evaluated.

Responses

Request samples

Content type
application/json
{
  • "reportId": "string",
  • "name": "string",
  • "parameters": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reportId": "string",
  • "name": "string",
  • "parameters": {
    }
}

Rename a filter preset of mine or change its parameters

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
name
string [ 1 .. 100 ] characters
object (ReportParameters)

Values keyed by the parameter names of the definition. Names and values outside the definition's allow-list are rejected, never evaluated.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "parameters": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reportId": "string",
  • "name": "string",
  • "parameters": {
    }
}

Delete a filter preset of mine

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the reports suggested for each of my actors that I may run

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Add the suggested reports to my favourites in their order until I have 10

Never removes a favourite. Suggestions are only added by this call.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read the company's report access settings

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "changeReason": {
    },
  • "rules": [
    ]
}

Replace the company's report access settings

Rules only switch rights off: a rule granting a right to an actor kind a report does not declare, or naming hr or admin, yields 422 with a violation on the rule. Switching view off switches export and subscribe off. The most specific rule wins (report, then domain, then all). Audited; publishes ReportAccessSettingsChanged.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

required
Array of objects <= 500 items

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "rules": [
    ]
}

Response samples

Content type
application/json
{
  • "changeReason": {
    },
  • "rules": [
    ]
}

List the company's report run log, newest first

Every view, drill-down, export request, download and subscription delivery of a report, with its parameters and row count, never its rows. Entries are kept for 400 days. Other users see only their own runs through listMyRecentReports and getReportSummary.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
reportId
string^[a-z][a-z0-9-]{1,63}$
actorUserId
string <uuid>
action
string
Enum: "view" "export" "download" "delivery" "suspended"
from
string <date> (Date)
Examples: from=2026-10-01

First day, in the company's time zone.

to
string <date> (Date)
Examples: to=2026-10-01

Last day, in the company's time zone.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

List the report definitions the caller may run

Small bounded list (at most 200 definitions, no paging). Only definitions that list one of the caller's actor roles in allowedActors are returned, each with the caller's own last run; domains names the domains of the reports the caller may run, in the caller's language, so no domain without reports is shown. Reports of a module the company switched off are neither listed nor run.

Authorizations:
bearerAuthsessionCookie
query Parameters
domain
string (ReportDomain)
Enum: "workforce" "timeAndLeave" "projects" "payroll" "talent" "compliance" "assets"

Only the reports of this domain; an unknown domain answers 400.

collectionId
string <uuid>

Only the reports of the caller's collection, in its order; reports the caller may not run are left out. Another user's collection yields 404.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "domains": [
    ],
  • "items": [
    ]
}

Get one report definition with its parameters and columns

Authorizations:
bearerAuthsessionCookie
path Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$

Identifier of a report definition, e.g. attendance-summary.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "attendance-summary",
  • "domain": "workforce",
  • "lastRunAt": "2026-10-01T08:15:00+02:00",
  • "title": "string",
  • "description": "string",
  • "allowedActors": [
    ],
  • "parameters": [
    ],
  • "periodPresets": [
    ],
  • "columns": [
    ],
  • "defaultSort": "string",
  • "aggregated": true,
  • "printLayout": true,
  • "offers": {
    },
  • "drilldown": {
    },
  • "rights": {
    }
}

List the records behind a key figure or a chart category of a report, within the caller's scope

Runs the report with the same parameters and in the same scope as getReportResult and returns the records the figure counts. Reports that do not offer drill-down, among them every aggregated report with a minimum group size, yield 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$

Identifier of a report definition, e.g. attendance-summary.

query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

object (ReportParameters)

The report parameters, as for getReportResult.

measure
required
string <= 64 characters

A key figure or chart series the report opens; another yields 400.

dimension
string <= 64 characters

A dimension the report declares for drill-down, such as month or department; another yields 400.

value
string <= 64 characters

With dimension, the category opened, such as 2026-09 or the ID of a department.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "reportId": "string",
  • "measure": "string",
  • "dimension": "string",
  • "value": "string",
  • "parameters": {
    },
  • "columns": [
    ],
  • "items": [
    ],
  • "meta": {
    }
}

My subscriptions of a report and my last runs; for HR and admins also everybody's last runs

Authorizations:
bearerAuthsessionCookie
path Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$

Identifier of a report definition, e.g. attendance-summary.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "reportId": "string",
  • "subscriptions": [
    ],
  • "myRuns": [
    ],
  • "companyRuns": [
    ]
}

List the people the caller may choose in a person filter of the report

The employees of the caller's scope in this report who are employed today, by family name: the caller for someone who runs the report as themselves, the employees in scope of a manager (and the manager themselves in a report that is also open to employees), everybody for HR and admins as the report allows. With includeFormer people who have left are listed too. Nobody outside that scope is listed, and a run that names such a person in an employee parameter is refused with 403.

Authorizations:
bearerAuthsessionCookie
path Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$

Identifier of a report definition, e.g. attendance-summary.

query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
includeFormer
boolean
Default: false

Also list people who have left the company; without it only people employed today are listed.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

List the people the caller may choose as recipients of a subscription of the report

The people of the list of people of the report, and the caller, who have an account and may run and receive the report today. A subscription with a recipient outside it is refused with 422.

Authorizations:
bearerAuthsessionCookie
path Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$

Identifier of a report definition, e.g. attendance-summary.

query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Run a report and return one page of rows within the caller's visibility scope

Authorizations:
bearerAuthsessionCookie
path Parameters
reportId
required
string^[a-z][a-z0-9-]{1,63}$

Identifier of a report definition, e.g. attendance-summary.

query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

object (ReportParameters)

Report parameters as a deep object, e.g. parameters[month]=2026-09. Names outside the definition yield 400. The rows returned are always limited to the caller's own scope: the caller, the team for a manager in scope, the company for HR. No parameter can widen that scope: an employee parameter that names somebody outside it is refused with 403.

presetId
string <uuid>

A filter preset of the caller for this report, checked again before it is applied. Parameters sent override the preset's; a date range sent replaces its period. Another user's preset yields 404, an outdated one 422.

compareWith
string
Default: "none"
Enum: "none" "priorPeriod" "priorYear"

For a report with key figures: compare with the same number of days or months ending before the range (priorPeriod) or the same dates a year earlier (priorYear), in the same scope and with the same filters.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "reportId": "string",
  • "parameters": {
    },
  • "appliedFilters": [
    ],
  • "columns": [
    ],
  • "items": [
    ],
  • "meta": {
    },
  • "generatedAt": "2026-10-01T08:15:00+02:00",
  • "suppressedGroups": 0,
  • "comparison": {
    },
  • "kpis": [
    ],
  • "charts": [
    ]
}

List exports of the caller (HR also sees all payroll exports of the company)

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

type
string (ExportType)
Enum: "report" "payroll" "pivot" "list"
status
string (ExportStatus)
Enum: "queued" "running" "ready" "failed" "expired"
reportId
string^[a-z][a-z0-9-]{1,63}$
month
string^[0-9]{4}-(0[1-9]|1[0-2])$

Payroll month, for type payroll.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Request an asynchronous CSV, XLSX or PDF export of a report or a list

A list is exported as the requester shows it, through the export source of its registry entry: with their scope and the columns they may read when the file is written, in their language, as a printable landscape table with the company letterhead, the filters applied and page numbers for PDF. A list without an export source or with parameters it does not allow answers 422 on listView.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
reportId
string
object (ListExportRequest)

A list of the list registry with an export source, as the screen shows it: its parameters (search, filters, sort) as the list allows them, the visible columns in their order and, for selected rows, their IDs. Columns the requester may not read when the file is written are left out, whatever was sent.

object (ReportParameters)

Values keyed by the parameter names of the definition. Names and values outside the definition's allow-list are rejected, never evaluated.

presetId
string <uuid> (Uuid)

A filter preset of the caller for the report; parameters sent override its parameters.

compareWith
string
Enum: "none" "priorPeriod" "priorYear"

For a report with key figures, the earlier period the file compares them with.

sort
string

Allow-listed sort expression of the definition.

format
required
string (ReportExportFormat)
Enum: "csv" "xlsx" "pdf"

Every report may be exported as csv, xlsx or pdf.

Responses

Request samples

Content type
application/json
{
  • "reportId": "string",
  • "listView": {
    },
  • "parameters": {
    },
  • "presetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "compareWith": "none",
  • "sort": "string",
  • "format": "csv"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "report",
  • "reportId": "string",
  • "payrollMonth": "string",
  • "pivotDataset": "string",
  • "listKey": "string",
  • "format": "csv",
  • "status": "queued",
  • "requestedBy": {
    },
  • "requestedAt": "2026-10-01T08:15:00+02:00",
  • "readyAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "rowCount": 0,
  • "fileName": "string",
  • "sizeBytes": 0,
  • "checksum": "string",
  • "failureCode": "tooManyRows",
  • "downloadUrl": "../dictionary",
  • "subscriptionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "compareWith": "priorPeriod",
  • "language": "en"
}

Get the state of an export

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "report",
  • "reportId": "string",
  • "payrollMonth": "string",
  • "pivotDataset": "string",
  • "listKey": "string",
  • "format": "csv",
  • "status": "queued",
  • "requestedBy": {
    },
  • "requestedAt": "2026-10-01T08:15:00+02:00",
  • "readyAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "rowCount": 0,
  • "fileName": "string",
  • "sizeBytes": 0,
  • "checksum": "string",
  • "failureCode": "tooManyRows",
  • "downloadUrl": "../dictionary",
  • "subscriptionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "compareWith": "priorPeriod",
  • "language": "en"
}

Delete an export and its file before it expires

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Download the file of a ready export (requester only, within 24 hours)

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

List the caller's report subscriptions

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Subscribe recipients to a weekly or monthly report e-mail with a download link

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
name
string [ 1 .. 150 ] characters

Defaults to the report's title in the owner's language.

presetId
string <uuid> (Uuid)
reportId
required
string
object (ReportParameters)

Values keyed by the parameter names of the definition. Names and values outside the definition's allow-list are rejected, never evaluated.

RelativePeriod (string) or null
format
required
string (ReportExportFormat)
Enum: "csv" "xlsx" "pdf"

Every report may be exported as csv, xlsx or pdf.

frequency
required
string (SubscriptionFrequency)
Enum: "daily" "weekly" "monthly"

daily runs on every calendar day, weekends and holidays included.

dayOfWeek
integer or null [ 1 .. 7 ]
dayOfMonth
integer or null [ 1 .. 28 ]
sendAt
required
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

Local wall-clock time "HH:MM" in the company time zone. Only used for schedule definitions.

recipientIds
Array of strings <uuid> (Uuid) <= 20 items [ items <uuid > ]

Defaults to the owner. Every recipient must be allowed to run the report.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "presetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reportId": "string",
  • "parameters": {
    },
  • "period": "previousWeek",
  • "format": "csv",
  • "frequency": "daily",
  • "dayOfWeek": 1,
  • "dayOfMonth": 1,
  • "sendAt": "08:00",
  • "recipientIds": [
    ]
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "presetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "active",
  • "lastDeliveredAt": "2026-10-01T08:15:00+02:00",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "owner": {
    },
  • "reportId": "string",
  • "parameters": {
    },
  • "period": "previousWeek",
  • "format": "csv",
  • "frequency": "daily",
  • "dayOfWeek": 1,
  • "dayOfMonth": 1,
  • "sendAt": "08:00",
  • "recipients": [
    ],
  • "active": true,
  • "suspendedReason": "notAuthorised",
  • "nextRunAt": "2026-10-01T08:15:00+02:00",
  • "lastRunAt": "2026-10-01T08:15:00+02:00"
}

Subscribe to up to 20 reports at once with one schedule, format and recipients

Each report becomes a subscription of its own. Reports the caller may not subscribe to, or a recipient may not run, are skipped with a reason. More than 20 reports yield 422 and nothing is created.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
reportIds
required
Array of strings [ 1 .. 20 ] items [ items^[a-z][a-z0-9-]{1,63}$ ]
period
string (RelativePeriod)
Enum: "previousWeek" "previousMonth" "currentMonth"

Replaces the period parameters of the report at send time, evaluated in the company time zone: previousWeek is the last full Monday to Sunday, previousMonth the last full calendar month.

format
required
string (ReportExportFormat)
Enum: "csv" "xlsx" "pdf"

Every report may be exported as csv, xlsx or pdf.

frequency
required
string (SubscriptionFrequency)
Enum: "daily" "weekly" "monthly"

daily runs on every calendar day, weekends and holidays included.

dayOfWeek
integer [ 1 .. 7 ]
dayOfMonth
integer [ 1 .. 28 ]
sendAt
required
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

Local wall-clock time "HH:MM" in the company time zone. Only used for schedule definitions.

recipientIds
Array of strings <uuid> (Uuid) <= 20 items [ items <uuid > ]

Responses

Request samples

Content type
application/json
{
  • "reportIds": [
    ],
  • "period": "previousWeek",
  • "format": "csv",
  • "frequency": "daily",
  • "dayOfWeek": 1,
  • "dayOfMonth": 1,
  • "sendAt": "08:00",
  • "recipientIds": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Get a subscription

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "presetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "active",
  • "lastDeliveredAt": "2026-10-01T08:15:00+02:00",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "owner": {
    },
  • "reportId": "string",
  • "parameters": {
    },
  • "period": "previousWeek",
  • "format": "csv",
  • "frequency": "daily",
  • "dayOfWeek": 1,
  • "dayOfMonth": 1,
  • "sendAt": "08:00",
  • "recipients": [
    ],
  • "active": true,
  • "suspendedReason": "notAuthorised",
  • "nextRunAt": "2026-10-01T08:15:00+02:00",
  • "lastRunAt": "2026-10-01T08:15:00+02:00"
}

Change or pause a subscription

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
non-empty
name
string [ 1 .. 150 ] characters

Defaults to the report's title in the owner's language.

presetId
string <uuid> (Uuid)
object (ReportParameters)

Values keyed by the parameter names of the definition. Names and values outside the definition's allow-list are rejected, never evaluated.

RelativePeriod (string) or null
format
string (ReportExportFormat)
Enum: "csv" "xlsx" "pdf"

Every report may be exported as csv, xlsx or pdf.

frequency
string (SubscriptionFrequency)
Enum: "daily" "weekly" "monthly"

daily runs on every calendar day, weekends and holidays included.

dayOfWeek
integer or null [ 1 .. 7 ]
dayOfMonth
integer or null [ 1 .. 28 ]
sendAt
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

Local wall-clock time "HH:MM" in the company time zone. Only used for schedule definitions.

recipientIds
Array of strings <uuid> (Uuid) <= 20 items [ items <uuid > ]
active
boolean

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "presetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "parameters": {
    },
  • "period": "previousWeek",
  • "format": "csv",
  • "frequency": "daily",
  • "dayOfWeek": 1,
  • "dayOfMonth": 1,
  • "sendAt": "08:00",
  • "recipientIds": [
    ],
  • "active": true
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "presetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "active",
  • "lastDeliveredAt": "2026-10-01T08:15:00+02:00",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "owner": {
    },
  • "reportId": "string",
  • "parameters": {
    },
  • "period": "previousWeek",
  • "format": "csv",
  • "frequency": "daily",
  • "dayOfWeek": 1,
  • "dayOfMonth": 1,
  • "sendAt": "08:00",
  • "recipients": [
    ],
  • "active": true,
  • "suspendedReason": "notAuthorised",
  • "nextRunAt": "2026-10-01T08:15:00+02:00",
  • "lastRunAt": "2026-10-01T08:15:00+02:00"
}

Delete a subscription

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Pause my subscription

A paused subscription delivers nothing. Audited.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "presetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "active",
  • "lastDeliveredAt": "2026-10-01T08:15:00+02:00",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "owner": {
    },
  • "reportId": "string",
  • "parameters": {
    },
  • "period": "previousWeek",
  • "format": "csv",
  • "frequency": "daily",
  • "dayOfWeek": 1,
  • "dayOfMonth": 1,
  • "sendAt": "08:00",
  • "recipients": [
    ],
  • "active": true,
  • "suspendedReason": "notAuthorised",
  • "nextRunAt": "2026-10-01T08:15:00+02:00",
  • "lastRunAt": "2026-10-01T08:15:00+02:00"
}

Resume my paused or suspended subscription

The recipients are checked again (422); nextRunAt is computed from now, missed slots are not caught up. Audited.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "presetId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "status": "active",
  • "lastDeliveredAt": "2026-10-01T08:15:00+02:00",
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "owner": {
    },
  • "reportId": "string",
  • "parameters": {
    },
  • "period": "previousWeek",
  • "format": "csv",
  • "frequency": "daily",
  • "dayOfWeek": 1,
  • "dayOfMonth": 1,
  • "sendAt": "08:00",
  • "recipients": [
    ],
  • "active": true,
  • "suspendedReason": "notAuthorised",
  • "nextRunAt": "2026-10-01T08:15:00+02:00",
  • "lastRunAt": "2026-10-01T08:15:00+02:00"
}

Deliver my active subscription once now

Every recipient is checked as for a scheduled delivery; nextRunAt does not move. A paused or suspended subscription answers 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Payroll export settings of the company

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "formatSettings": {
    },
  • "firstMonth": "string",
  • "wageTypes": [
    ],
  • "leaveTypeMappings": [
    ]
}

Replace the payroll export settings

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
required
object (PayrollFormatSettings)

The settings each installed payroll format needs from the company, by format; a format without settings has no entry. A setting not set is null; a month is exported in a format only when it was closed with all of its settings. On saving, a setting left out or null is not set.

firstMonth
required
string^[0-9]{4}-(0[1-9]|1[0-2])$

First month that is exported through this system; earlier months are not closed here.

required
Array of objects (PayrollWageType)
required
Array of objects (PayrollLeaveTypeMapping)

One wage type per leave type. Time off in lieu and sickness leave types are never mapped.

Responses

Request samples

Content type
application/json
{
  • "formatSettings": {
    },
  • "firstMonth": "string",
  • "wageTypes": [
    ],
  • "leaveTypeMappings": [
    ]
}

Response samples

Content type
application/json
{
  • "formatSettings": {
    },
  • "firstMonth": "string",
  • "wageTypes": [
    ],
  • "leaveTypeMappings": [
    ]
}

List payroll months with their status

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

status
string (PayrollMonthStatus)
Enum: "open" "closed"
year
integer [ 2000 .. 2100 ]
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Get a payroll month, with the blockers that prevent closing it

Authorizations:
bearerAuthsessionCookie
path Parameters
month
required
string^[0-9]{4}-(0[1-9]|1[0-2])$

Payroll month as YYYY-MM.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "month": "string",
  • "status": "open",
  • "closedAt": "2026-10-01T08:15:00+02:00",
  • "closedBy": {
    },
  • "employeeCount": 0,
  • "blockers": [
    ],
  • "postCloseChangeCount": 0
}

Per-employee payroll values: live for an open month, frozen for a closed one

Authorizations:
bearerAuthsessionCookie
path Parameters
month
required
string^[0-9]{4}-(0[1-9]|1[0-2])$

Payroll month as YYYY-MM.

query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

employeeId
string <uuid>
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Changes recorded after the month was closed

Authorizations:
bearerAuthsessionCookie
path Parameters
month
required
string^[0-9]{4}-(0[1-9]|1[0-2])$

Payroll month as YYYY-MM.

query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Close a payroll month and freeze its values

Authorizations:
bearerAuthsessionCookie
path Parameters
month
required
string^[0-9]{4}-(0[1-9]|1[0-2])$

Payroll month as YYYY-MM.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "month": "string",
  • "status": "open",
  • "closedAt": "2026-10-01T08:15:00+02:00",
  • "closedBy": {
    },
  • "employeeCount": 0,
  • "blockers": [
    ],
  • "postCloseChangeCount": 0
}

Request the payroll file of a closed month

Authorizations:
bearerAuthsessionCookie
path Parameters
month
required
string^[0-9]{4}-(0[1-9]|1[0-2])$

Payroll month as YYYY-MM.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
format
required
string (PayrollExportFormat)
Enum: "datevLodas" "genericCsv"

Responses

Request samples

Content type
application/json
{
  • "format": "datevLodas"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "report",
  • "reportId": "string",
  • "payrollMonth": "string",
  • "pivotDataset": "string",
  • "listKey": "string",
  • "format": "csv",
  • "status": "queued",
  • "requestedBy": {
    },
  • "requestedAt": "2026-10-01T08:15:00+02:00",
  • "readyAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "rowCount": 0,
  • "fileName": "string",
  • "sizeBytes": 0,
  • "checksum": "string",
  • "failureCode": "tooManyRows",
  • "downloadUrl": "../dictionary",
  • "subscriptionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "compareWith": "priorPeriod",
  • "language": "en"
}

List the pivot datasets the caller may use

Small bounded list, one entry per dataset an installed package contributes and the caller may use, ordered by key, with the title in the caller's language. An employee without reports uses only timesheets, restricted to their own bookings.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Get one pivot dataset with the fields the caller sees

Lists only the fields of data categories the caller may read: directory and work data for managers in scope and employees, also personal fields such as gender and age band for HR. No dataset declares address, phone, e-mail or bank fields. A dataset no installed package contributes, or one the caller may not use, answers 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
datasetKey
required
string^[a-z][A-Za-z]{1,63}$

The key of a pivot dataset, such as attendanceDays.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "key": "string",
  • "title": "string",
  • "periodField": "string",
  • "fields": [
    ]
}

Run a pivot query over the caller's scope

Aggregates a dataset on the server: up to 3 row and 2 column dimensions, dates bucketed by day, ISO week, month, quarter or year in the company time zone, 1 to 4 measures with an aggregation their field allows, and filters combined with "and". Only rows of the caller's scope count, and every matching row counts. Only field keys the caller sees in getPivotDataset are accepted; another key answers 400 before any data is read. A dataset with a periodField needs a date filter on it of at most 366 days (violation code pivot.period_required or pivot.period_too_long). Averages are rounded half up to two decimals; sums of seconds stay integer. Groups by a personal field with fewer than five rows are suppressed: their values are null and they are marked suppressed. Rows are ordered by their labels, or by the total of the measure sort names; columns by their labels; empty values come last. Reading the result writes nothing.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
templateId
string <uuid> (Uuid)
dataset
string^[a-z][A-Za-z]{1,63}$
Array of objects (PivotAxis) <= 10 items

At most 3; more are a violation.

Array of objects (PivotAxis) <= 10 items

At most 2; more are a violation.

Array of objects (PivotMeasure) <= 10 items

1 to 4; other counts are a violation.

Array of objects (PivotFilter) <= 20 items
object
renderer
string (PivotRenderer)
Enum: "table" "heatmap" "bar" "stackedBar" "line"

How the client shows the result; saved with templates, ignored by the server.

Responses

Request samples

Content type
application/json
{
  • "templateId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "dataset": "string",
  • "rows": [
    ],
  • "columns": [
    ],
  • "measures": [
    ],
  • "filters": [
    ],
  • "sort": {
    },
  • "renderer": "table"
}

Response samples

Content type
application/json
{
  • "dataset": "string",
  • "rows": [
    ],
  • "columns": [
    ],
  • "measures": [
    ],
  • "rowHeaders": [
    ],
  • "columnHeaders": [
    ],
  • "cells": [
    ],
  • "rowTotals": [
    ],
  • "columnTotals": [
    ],
  • "grandTotal": [
    ],
  • "cellCount": 0,
  • "omittedFields": [
    ]
}

Export a pivot as CSV or XLSX in the background

Checks the query as runPivotQuery would (400, 404 and 422 alike; violations are named below query) and queues the file through the asynchronous exports: at generation the query runs again over the caller's scope at that time, the file is offered for 24 hours at downloadUrl, and the request and every download are audited. The file holds the cells, row and column totals and the grand total of the screen; durations in hours with two decimals. CSV follows the caller's language like report files; XLSX holds the values as numbers on the sheet "Pivot" after a cover with the dataset, rows, columns, measures, applied filters, requester and time. A pivot grown past 10000 cells by then fails with tooManyCells.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
required
object (PivotQuery)

Names a dataset and its measures, or a template: then the template's configuration runs, without the fields the caller may not see (named in omittedFields of the result), and what the query sets itself replaces the template's part of the same name. Without both, dataset is a violation.

format
required
string
Enum: "csv" "xlsx"

Responses

Request samples

Content type
application/json
{
  • "query": {
    },
  • "format": "csv"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "report",
  • "reportId": "string",
  • "payrollMonth": "string",
  • "pivotDataset": "string",
  • "listKey": "string",
  • "format": "csv",
  • "status": "queued",
  • "requestedBy": {
    },
  • "requestedAt": "2026-10-01T08:15:00+02:00",
  • "readyAt": "2026-10-01T08:15:00+02:00",
  • "expiresAt": "2026-10-01T08:15:00+02:00",
  • "rowCount": 0,
  • "fileName": "string",
  • "sizeBytes": 0,
  • "checksum": "string",
  • "failureCode": "tooManyRows",
  • "downloadUrl": "../dictionary",
  • "subscriptionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "compareWith": "priorPeriod",
  • "language": "en"
}

List the pivot templates the caller sees

Small bounded list: the standard templates of the datasets the caller may use, named in the caller's language, then the company's shared templates of those datasets and the caller's own private ones, by name. Fields the caller may not see are left out of each configuration and named in omittedFields. Templates hold no data.

Authorizations:
bearerAuthsessionCookie
query Parameters
datasetKey
string

Only the templates of this dataset.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Save a pivot configuration as a template

The configuration is checked for the caller as runPivotQuery would check it (violations are named below configuration). The name is unique per owner and dataset (409). Visibility company shares the template with everybody who may use the dataset and is open to HR and admins only (403 for others); sharing is recorded in the audit log and published as PivotTemplateShared. Saving the configuration of a standard template under a new name makes an editable copy.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
name
required
string [ 1 .. 100 ] characters
visibility
required
string
Enum: "private" "company"
required
object (PivotTemplateConfiguration)

A pivot query without template; dataset and measures are required.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "visibility": "private",
  • "configuration": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "datasetKey": "string",
  • "name": "string",
  • "visibility": "private",
  • "configuration": {
    },
  • "omittedFields": [
    ],
  • "editable": true
}

Get one pivot template as the caller sees it

The caller's own template, a shared one of a dataset the caller may use, or a standard one; a template the caller does not see answers 404.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "datasetKey": "string",
  • "name": "string",
  • "visibility": "private",
  • "configuration": {
    },
  • "omittedFields": [
    ],
  • "editable": true
}

Rename a pivot template, change its visibility or configuration

The owner changes a private template, HR and admins a shared one (403 for others who see it); a standard template answers 409. Rules as for createPivotTemplate.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
name
string [ 1 .. 100 ] characters
visibility
string
Enum: "private" "company"
object (PivotTemplateConfiguration)

A pivot query without template; dataset and measures are required.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "visibility": "private",
  • "configuration": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "datasetKey": "string",
  • "name": "string",
  • "visibility": "private",
  • "configuration": {
    },
  • "omittedFields": [
    ],
  • "editable": true
}

Delete a pivot template

As for updatePivotTemplate; a standard template answers 409.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Workforce overview

Headcount and full-time equivalents today (weekly contract seconds over the company's full-time week), joiners and leavers of the period, over the caller's scope. The period is the tab's (from, to; the current month unless given, at most 366 days).

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "headcount": 0,
  • "fte": 0,
  • "joiners": 0,
  • "leavers": 0
}

Workforce breakdown

Today's headcount of the caller's scope per value of the chosen dimension, the largest group first; employees without assignment form a group without name.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

dimension
string (WorkforceDimension)
Enum: "organisationUnit" "jobPosition" "employmentType" "location" "workingTimeModel"

What the headcount is grouped by; organisationUnit unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "dimension": "organisationUnit",
  • "items": [
    ]
}

Headcount trend

Month-end headcount, joiners and leavers of the last months complete months, oldest first (the current month is shown once it ended), and the turnover rate of the window as the report turnover defines it: leavers in percent of the average of the headcount before the first and at the end of the last month.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

months
integer [ 6 .. 24 ]

How many complete months, 6 to 24; 12 unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "months": 0,
  • "points": [
    ],
  • "turnoverRate": 0
}

Recent joiners

The 10 latest joiners of the period in the caller's scope, newest first, with unit and position on their entry date.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "items": [
    ]
}

Gender distribution

Today's employees of the company per gender. A group of fewer than five is suppressed, and so is the next smallest when it alone would reveal it, as in the report diversity; suppressed counts are null.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "withheld": 0
}

KPIs of my favourite reports

A card for each of the caller's favourite reports that offers KPIs (at most 10, oldest favourite first) with its first four KPIs for the period, run as the caller may run the report now: a report the caller may no longer run, or that the company's access settings switched off, is left out without error. parameters are the report parameters of the period, for the link to the report.

Authorizations:
bearerAuthsessionCookie
query Parameters
from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "items": [
    ]
}

Attendance trend

The attendance rate of the period per day or ISO week, oldest first: a day is expected with a target above 0 unless the person is on leave or sick all day, and present when expected and worked; the rate is present over expected times 100 with one decimal, null without an expected day.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

granularity
string
Enum: "day" "isoWeek"

Per day or per ISO week; per day unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "granularity": "day",
  • "buckets": [
    ]
}

Attendance by unit

Present days, days on time, late starts, early ends and unexcused days of the period per unit, as the report attendance-by-unit counts them for the same period and scope.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "items": [
    ]
}

Overtime by unit

Worked and target time, approved and pending overtime and the worked time per present day of the period, per unit.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "items": [
    ]
}

Absenteeism trend

The unexcused rate of the report unscheduled-absence for each of the last months complete months, oldest first.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

months
integer [ 3 .. 12 ]

How many complete months, 3 to 12; 6 unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "months": 0,
  • "points": [
    ]
}

Absence ranking

The ten employees of the caller's scope with the most unexcused days or the most absence days of the period, most first, ties by name; nobody without such a day. A manager whose company hides sickness sees it among the absence days without a category.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

measure
string
Enum: "unexcusedDays" "absenceDays"

Rank by unexcused days or by absence days; unexcused days unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "measure": "unexcusedDays",
  • "items": [
    ]
}

Working-time model distribution

Today's employees of the caller's scope per working-time model or per location, the largest group first; employees without one form a group without name.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

dimension
string
Enum: "workingTimeModel" "location"

Per working-time model or per location; per model unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "dimension": "organisationUnit",
  • "items": [
    ]
}

Leave overview

Who of the caller's scope is absent today and why (sickness included; category null where the company hides sickness from managers), the requests waiting for a decision in the period, the approved days of the period and how many approved absences start within the next 7 days.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "absentToday": [
    ],
  • "pendingRequests": 0,
  • "approvedDays": 0,
  • "startingSoon": 0
}

Leave breakdown

The approved absence days of the period, as the leave domain counts them (half days 0.5, sickness included), per leave type, unit, payroll class or ISO weekday (key 1 for Monday to 7 for Sunday, only weekdays with days), most days first. Where the company hides sickness from managers, a manager sees it as one group without name and masked true; the totals stay the same.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

dimension
string
Enum: "leaveType" "organisationUnit" "payrollClass" "weekday"

What the days are grouped by; the leave type unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "dimension": "leaveType",
  • "items": [
    ]
}

Leave trend

The requests by the month of their first day and the approved absence days of each of the last months complete months, oldest first.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

months
integer [ 3 .. 12 ]

How many complete months, 3 to 12; 6 unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "months": 0,
  • "points": [
    ]
}

Leave coverage

How many people of the caller's scope are absent on each day of the period (a half day counts as a person), and the absence days per unit.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reporting-line scope, company for the whole company, open to HR only (422 for others). HR without a team sees the company either way.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "days": [
    ],
  • "units": [
    ]
}