Download OpenAPI specification:
The operations of the apprenticeship package, merged into the published contract when the package is installed (see WebVision\Adsum\Core\Shared\Api\Contract\OpenApiDocument). Linted on its own.
Per date: school, schoolFree or none, where it comes from, the values of a school day and the credit that the rules of the country of the office give it. At most 366 days. The person, their manager in scope and HR read; anybody else gets 404.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| from required | string <date> (Date) Examples: from=2026-10-01 |
| to required | string <date> (Date) Examples: to=2026-10-01 |
| 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. |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "from": "2026-10-01",
- "to": "2026-10-01",
- "days": [
- {
- "date": "2026-10-01",
- "status": "school",
- "source": "override",
- "periodName": "string",
- "lessons": 0,
- "lessonMinutes": 0,
- "schoolSeconds": 0,
- "travelSeconds": 0,
- "credit": {
- "averageDay": true,
- "wholeDay": true,
- "seconds": 0,
- "rule": "string",
- "source": "string"
}
}
]
}HR. Copies the chosen parts of the employee in the path as new entries of one to 50 targets, optionally those touching a range of dates; a snapshot that never changes with the source. A schedule overlapping one of a target refuses that target (school-schedule-overlap) and copies nothing to it; equal periods are skipped, existing exceptions are kept. The answer lists each target.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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 ( |
| targetEmployeeIds required | Array of strings <uuid> (Uuid) [ 1 .. 50 ] items unique [ items <uuid > ] |
| parts required | Array of strings non-empty unique Items Enum: "schedules" "freePeriods" "overrides" |
Date (string) or null | |
Date (string) or null |
{- "targetEmployeeIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "parts": [
- "schedules"
], - "from": "2026-10-01",
- "to": "2026-10-01"
}{- "items": [
- {
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "copied",
- "schedules": 0,
- "freePeriods": 0,
- "overrides": 0
}
]
}HR. Saves nothing. Every all-day event is a school-free period; events with times are ignored and counted. Each line is new, changed, unchanged or missing (in the calendar but no longer in the file). The previewToken is valid for one hour and for this employee.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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 ( |
| file required | string <binary> The iCalendar file of the school, at most 1 MB. |
{- "previewToken": "string",
- "ignored": 0,
- "lines": [
- {
- "id": "string",
- "kind": "new",
- "name": "string",
- "dateFrom": "2026-10-01",
- "dateTo": "2026-10-01"
}
]
}HR. Writes the new and changed lines except those left out; periods entered by hand are never touched and importing the same file twice changes nothing.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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 ( |
| previewToken required | string |
| exclude | Array of strings The IDs of the lines to leave out. |
{- "previewToken": "string",
- "exclude": [
- "string"
]
}{- "created": 0,
- "updated": 0
}The person, their manager in scope and HR read; anybody else gets 404, as does an employee without an apprenticeship. The share is calculated for today.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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. |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "trainingStart": "2026-10-01",
- "trainingEnd": "2026-10-01",
- "trainerEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "level": "none",
- "evaluatedOn": "2026-10-01",
- "share": {
- "asOf": "2026-10-01",
- "missedDays": 0,
- "trainingDays": 0,
- "percent": 0,
- "level": "none"
}
}HR. 201 for a new apprenticeship, 200 for a replaced one.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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. |
| trainingStart required | string <date> (Date) |
Date (string) or null | |
Uuid (string) or null The training supervisor, an employee of the company. |
{- "trainingStart": "2026-10-01",
- "trainingEnd": "2026-10-01",
- "trainerEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "trainingStart": "2026-10-01",
- "trainingEnd": "2026-10-01",
- "trainerEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "level": "none",
- "evaluatedOn": "2026-10-01",
- "share": {
- "asOf": "2026-10-01",
- "missedDays": 0,
- "trainingDays": 0,
- "percent": 0,
- "level": "none"
}
}HR.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}What HR saved, or the defaults of the country of the company address, or the neutral ones.
| 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. |
{- "warningPerMille": 1,
- "thresholdPerMille": 1,
- "minimumTrainingDays": 0,
- "countUnexcusedDays": true,
- "countedCategories": [
- "vacation"
], - "excludedCategories": [
- "vacation"
], - "schoolDayCountsAsWholeDay": true
}HR. The warning level is below the threshold; a level that is null is off; a category the country forbids to count is refused.
| 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. |
| warningPerMille required | integer or null [ 1 .. 1000 ] The share from which HR and the supervisor are warned, in per mille; null is off. |
| thresholdPerMille required | integer or null [ 1 .. 1000 ] The share from which the threshold notice follows, in per mille; null is off. |
| minimumTrainingDays required | integer [ 0 .. 2000 ] Training days before a share is judged. |
| countUnexcusedDays required | boolean |
| countedCategories required | Array of strings Items Enum: "vacation" "specialLeave" "unpaid" "timeOffInLieu" "sickness" "childSickness" "parental" "education" "compensatoryLeave" The leave categories whose days count as missed. |
| excludedCategories required | Array of strings Items Enum: "vacation" "specialLeave" "unpaid" "timeOffInLieu" "sickness" "childSickness" "parental" "education" "compensatoryLeave" The leave categories whose days are left out of the training days. |
| schoolDayCountsAsWholeDay | boolean Whether every school day credits the whole scheduled target of its date, instead of the minimum of the country of the office. Always in an answer; left out of an update it keeps its value, and a company that never saved settings starts with false. |
{- "warningPerMille": 1,
- "thresholdPerMille": 1,
- "minimumTrainingDays": 0,
- "countUnexcusedDays": true,
- "countedCategories": [
- "vacation"
], - "excludedCategories": [
- "vacation"
], - "schoolDayCountsAsWholeDay": true
}{- "warningPerMille": 1,
- "thresholdPerMille": 1,
- "minimumTrainingDays": 0,
- "countUnexcusedDays": true,
- "countedCategories": [
- "vacation"
], - "excludedCategories": [
- "vacation"
], - "schoolDayCountsAsWholeDay": true
}The weekly school days of each training year, by first day.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| 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. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "validFrom": "2026-10-01",
- "validTo": "2026-10-01",
- "weekdays": [
- "monday"
], - "days": [
- {
- "weekday": "monday",
- "lessons": 0,
- "lessonMinutes": 1,
- "schoolSeconds": 1,
- "travelSeconds": 0
}
]
}
], - "meta": {
- "page": 1,
- "perPage": 1,
- "totalItems": 0,
- "facets": {
- "property1": {
- "property1": 1,
- "property2": 1
}, - "property2": {
- "property1": 1,
- "property2": 1
}
}, - "groupBy": "string",
- "groups": [
- {
- "key": "string",
- "label": "string",
- "count": 1
}
]
}
}HR. A schedule that starts while an open-ended one runs ends that one the day before; any other overlap is 409 school-schedule-overlap. Publishes DayCreditsChanged.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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 ( |
| validFrom required | string <date> (Date) |
Date (string) or null | |
required | Array of objects (SchoolScheduleDayInput) [ 1 .. 7 ] items |
{- "validFrom": "2026-10-01",
- "validTo": "2026-10-01",
- "days": [
- {
- "weekday": "monday",
- "lessons": 0,
- "lessonMinutes": 1,
- "schoolSeconds": 1,
- "travelSeconds": 0
}
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "validFrom": "2026-10-01",
- "validTo": "2026-10-01",
- "weekdays": [
- "monday"
], - "days": [
- {
- "weekday": "monday",
- "lessons": 0,
- "lessonMinutes": 1,
- "schoolSeconds": 1,
- "travelSeconds": 0
}
]
}HR. The weekdays are replaced as a whole.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| scheduleId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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. |
| validFrom required | string <date> (Date) |
Date (string) or null | |
required | Array of objects (SchoolScheduleDayInput) [ 1 .. 7 ] items |
{- "validFrom": "2026-10-01",
- "validTo": "2026-10-01",
- "days": [
- {
- "weekday": "monday",
- "lessons": 0,
- "lessonMinutes": 1,
- "schoolSeconds": 1,
- "travelSeconds": 0
}
]
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "validFrom": "2026-10-01",
- "validTo": "2026-10-01",
- "weekdays": [
- "monday"
], - "days": [
- {
- "weekday": "monday",
- "lessons": 0,
- "lessonMinutes": 1,
- "schoolSeconds": 1,
- "travelSeconds": 0
}
]
}HR.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| scheduleId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}School holidays and other periods without school, by first day.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| 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. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "dateFrom": "2026-10-01",
- "dateTo": "2026-10-01",
- "name": "string",
- "imported": true
}
], - "meta": {
- "page": 1,
- "perPage": 1,
- "totalItems": 0,
- "facets": {
- "property1": {
- "property1": 1,
- "property2": 1
}, - "property2": {
- "property1": 1,
- "property2": 1
}
}, - "groupBy": "string",
- "groups": [
- {
- "key": "string",
- "label": "string",
- "count": 1
}
]
}
}HR. Periods may overlap; a period spans at most 366 days.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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 ( |
| dateFrom required | string <date> (Date) |
| dateTo required | string <date> (Date) |
| name required | string [ 1 .. 120 ] characters As entered; not translated. |
{- "dateFrom": "2026-10-01",
- "dateTo": "2026-10-01",
- "name": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "dateFrom": "2026-10-01",
- "dateTo": "2026-10-01",
- "name": "string",
- "imported": true
}HR.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| periodId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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. |
| dateFrom required | string <date> (Date) |
| dateTo required | string <date> (Date) |
| name required | string [ 1 .. 120 ] characters As entered; not translated. |
{- "dateFrom": "2026-10-01",
- "dateTo": "2026-10-01",
- "name": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "dateFrom": "2026-10-01",
- "dateTo": "2026-10-01",
- "name": "string",
- "imported": true
}HR.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| periodId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}A school day that does not take place, or an extra one, by date.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| 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. |
{- "items": [
- {
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "date": "2026-10-01",
- "kind": "free",
- "lessons": 0,
- "lessonMinutes": 0,
- "schoolSeconds": 0,
- "travelSeconds": 0
}
], - "meta": {
- "page": 1,
- "perPage": 1,
- "totalItems": 0,
- "facets": {
- "property1": {
- "property1": 1,
- "property2": 1
}, - "property2": {
- "property1": 1,
- "property2": 1
}
}, - "groupBy": "string",
- "groups": [
- {
- "key": "string",
- "label": "string",
- "count": 1
}
]
}
}HR. The same as saveSchoolDayOverride with the date in the body, for forms that add an exception: 201 for a new exception, 200 for a replaced one.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| 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 ( |
| date required | string <date> (Date) |
| kind required | string Enum: "free" "school" |
| lessons | integer or null [ 0 .. 20 ] |
| lessonMinutes | integer [ 1 .. 240 ] |
| schoolSeconds | integer [ 1 .. 86400 ] |
| travelSeconds | integer [ 0 .. 86400 ] |
{- "date": "2026-10-01",
- "kind": "free",
- "lessons": 0,
- "lessonMinutes": 1,
- "schoolSeconds": 1,
- "travelSeconds": 0
}{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "date": "2026-10-01",
- "kind": "free",
- "lessons": 0,
- "lessonMinutes": 0,
- "schoolSeconds": 0,
- "travelSeconds": 0
}HR. 201 for a new exception, 200 for a replaced one. kind school needs schoolSeconds.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| date required | string <date> (Date) Examples: 2026-10-01 |
| 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. |
| kind required | string Enum: "free" "school"
|
| lessons | integer or null [ 0 .. 20 ] |
| lessonMinutes | integer [ 1 .. 240 ] |
| schoolSeconds | integer [ 1 .. 86400 ] |
| travelSeconds | integer [ 0 .. 86400 ] |
{- "kind": "free",
- "lessons": 0,
- "lessonMinutes": 1,
- "schoolSeconds": 1,
- "travelSeconds": 0
}{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "date": "2026-10-01",
- "kind": "free",
- "lessons": 0,
- "lessonMinutes": 0,
- "schoolSeconds": 0,
- "travelSeconds": 0
}HR.
| employeeId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| date required | string <date> (Date) Examples: 2026-10-01 |
| 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. |
{- "type": "../dictionary",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "../dictionary",
- "code": 0,
- "correlationId": "string",
- "violations": [
- {
- "propertyPath": "startDate",
- "message": "string",
- "code": "string",
- "existingEmployeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "pending",
- "suggestion": "string",
- "pair": "string",
- "scheme": "light",
- "ratio": "string",
- "required": "string",
- "proposal": "string",
- "requiredBy": "string",
- "line": 0,
- "column": 0,
- "placeholder": "string",
- "slot": "string",
- "language": "string",
- "maxBytes": 0,
- "formats": "string"
}
], - "dependents": [
- {
- "type": "string",
- "count": 1,
- "effect": "kept"
}
]
}