Download OpenAPI specification:
The operations of the planning package, merged into the published contract when the package is installed (see WebVision\Adsum\Core\Shared\Api\Contract\OpenApiDocument). Linted on its own.
Plans of people and planning teams on projects and issues, the sources of these targets and their connections, the planning teams, and the accounts with their contingents of hours.
Each source with the names of the settings a connection of it needs, its secrets among them, and the ID and name of each connection of the company. No setting value is returned. A source that needs no connection, such as adsum's projects, is searched without one.
| 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": [
- {
- "name": "string",
- "needsConnection": true,
- "settings": [
- "string"
], - "secrets": [
- "string"
], - "connections": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}
]
}
]
}| 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",
- "source": "string",
- "name": "string",
- "settings": { },
- "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}The settings are those the source names in listPlanSources, its secrets among them. Secrets are stored encrypted and never returned; the connection tells by <secret>Set whether one is stored. Several connections, also of the same source, are allowed. A source that needs no connection is a violation of source.
| 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 ( |
| source required | string An installed source that needs a connection. |
| name required | string [ 1 .. 100 ] characters |
required | object Every setting and secret the source names; a secret is written only. |
{- "source": "string",
- "name": "string",
- "settings": { }
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "name": "string",
- "settings": { },
- "createdAt": "2026-10-01T08:15:00+02:00"
}| id 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. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "name": "string",
- "settings": { },
- "createdAt": "2026-10-01T08:15:00+02:00"
}The settings, when given, replace the stored ones; a secret left out keeps its stored value.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| scope | string Default: "series" Enum: "series" "occurrence" "following" What the request concerns for a repeating plan: the whole series (default), one occurrence, or that occurrence and all following. With the last two, the occurrence is required, and a plan that does not repeat is a violation of scope. |
| occurrence | string <date> (Date) Examples: occurrence=2026-10-01 The first day of the week or month of the series the scope names; another date is a violation of occurrence. |
| 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. |
| name | string [ 1 .. 100 ] characters |
object Every setting the source names; a secret left out keeps its stored value. |
{- "name": "string",
- "settings": { }
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "name": "string",
- "settings": { },
- "createdAt": "2026-10-01T08:15:00+02:00"
}A connection that plans are made on answers 409, as the plans would lose their target.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| scope | string Default: "series" Enum: "series" "occurrence" "following" What the request concerns for a repeating plan: the whole series (default), one occurrence, or that occurrence and all following. With the last two, the occurrence is required, and a plan that does not repeat is a violation of scope. |
| occurrence | string <date> (Date) Examples: occurrence=2026-10-01 The first day of the week or month of the series the scope names; another date is a violation of occurrence. |
| 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. |
{- "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"
}
]
}| 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. |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "selfPlanning": "off",
- "visibility": "team",
- "plannerIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}The planners hold the permission planning.plan: they plan for every employee of the company. Employees left out of plannerIds are planners no more; an employee of another company is a violation of its entry. With visibility company every employee reads the planning of every person and team of the company, with team (the default) only their own and that of the members of their teams; a request that leaves visibility out keeps it. Planning itself is not affected.
| 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. |
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. | |
| selfPlanning required | string (SelfPlanning) Enum: "off" "own" "all" What people may do with their own plans: nothing (off, the default), create, change and delete the plans they made for themselves (own), or also change and delete the plans others made for them (all). |
| visibility | string (PlanningVisibility) Enum: "team" "company" Always part of a response; a request that leaves it out keeps the stored value. |
| plannerIds required | Array of strings <uuid> (Uuid) <= 500 items unique [ items <uuid > ] The employees named as planners, who plan for every employee of the company. |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "selfPlanning": "off",
- "visibility": "team",
- "plannerIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "selfPlanning": "off",
- "visibility": "team",
- "plannerIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
]
}For planners and team leads, and for everybody while selfPlanning is not off; others receive 403. Name a connection, or a source that needs none. At most 20 targets. A source that cannot be reached answers 503.
| connectionId | string <uuid> (Uuid) Examples: connectionId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b The connection to search through. |
| source | string A source that needs no connection, such as projects. |
| kind required | string (TargetKind) Enum: "project" "issue" |
| q | string <= 200 characters Text the key or title contains, ignoring case. |
| 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": [
- {
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "project",
- "key": "string",
- "title": "string",
- "link": "string",
- "project": {
- "key": "string",
- "title": "string"
}, - "imageUrl": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}
}
]
}For everybody who reads the planning grid. The grid never waits for a source, so it shows a target without colour until its image was fetched; the browser then asks for the colours of those targets in one request. A colour the server does not have, for example after its cache was cleared, it takes from the image of the source now, one image after the other for at most eight seconds; a target whose image could not be fetched in time, has none or has no main colour answers a colour of null. An issue has the colours of its project, named by projectKey. At most 50 targets; the items come in the order of the request.
required | Array of objects [ 1 .. 50 ] items The targets as a list, |
| 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": [
- {
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "kind": "project",
- "key": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}
}
]
}For everybody who reads the planning grid. The image is fetched through the target's source and kept on the server for a day per version of the connection and target, so a changed connection serves no image of before; the browser may keep it for a day as well (private). An issue has the image of its project. Only PNG, JPEG, GIF and WebP images of at most 256 KB are served, recognised by their content. A target without an image, a source that serves no images or cannot be reached, and any other content answer 404. The grid and the search name the address of a target's image in its imageUrl.
| connectionId | string <uuid> (Uuid) Examples: connectionId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b The connection the target is read through. |
| version | integer >= 0 The version of the connection, which the imageUrl names so that a browser asks again once the connection changed. The server always serves the image of the current version. |
| source | string <= 50 characters A source that needs no connection. |
| kind required | string (TargetKind) Enum: "project" "issue" |
| key required | string [ 1 .. 200 ] characters The key of the target in its source, such as WV. |
| 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"
}
]
}Plans that touch the period from to until, by start date: of employees and of planning teams. Without a planner the reader lists their own plans and those of the teams they lead or belong to. The targets come from the stored snapshot; no source is asked.
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| employeeId | string <uuid> (Uuid) Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Only the plans of this employee. |
| teamId | string <uuid> (Uuid) Examples: teamId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Only the plans of this planning team; with employeeId, those of both. |
| from | string <date> (Date) Examples: from=2026-10-01 Only plans ending on or after this date. |
| until | string <date> (Date) Examples: until=2026-10-01 Only plans starting on or before this date. |
| 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",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "team": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "account": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string"
}, - "target": {
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "project",
- "key": "string",
- "title": "string",
- "link": "string",
- "project": {
- "key": "string",
- "title": "string"
}, - "imageUrl": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}, - "missing": true
}, - "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "recurrence": {
- "every": "week",
- "until": "2026-10-01"
}, - "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "occurrence": "2026-10-01",
- "secondsPerDay": 0,
- "totalSeconds": 0,
- "followsTarget": true,
- "startTime": "08:00",
- "description": "string",
- "author": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "createdAt": "2026-10-01T08:15:00+02:00",
- "changedBy": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "changedAt": "2026-10-01T08:15:00+02:00"
}
], - "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
}
]
}
}Planners plan for every employee and team; a team lead plans for the teams they lead and for their members on the days of the membership; an employee plans for themselves while selfPlanning is own or all. Others receive 403. A team plan counts against no member's time. A team of another company is a violation of teamId. The source describes the target when the plan is made: a key it does not know is a violation of target.key, a source that cannot be reached answers 503.
| 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 ( |
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. | |
Uuid (string) or null | |
Uuid (string) or null A planning team of the company instead of an employee. | |
Uuid (string) or null The account the plan's hours count for; null to let the rules of the accounts decide. | |
required | object (PlanTargetInput) The connection the target is read through, or a source that needs none. |
| startDate required | string <date> (Date) |
Date (string) or null | |
| secondsPerDay | integer or null [ 1 .. 86400 ] |
| totalSeconds | integer or null [ 1 .. 31622400 ] |
| followsTarget | boolean Plan the target of each day of the period of the employee's working time instead of secondsPerDay or totalSeconds, which must then be null or left out. Not for the plan of a planning team. |
TimeOfDay (string) or null | |
PlanRecurrenceInput (object) or null Repeat the plan every week or month, optionally until a date, which then replaces endDate. Only for the plan of a team with totalSeconds, otherwise a violation of recurrence; null for a plan of one period. | |
| description | string or null <= 2000 characters |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "teamId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "accountId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "target": {
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "kind": "project",
- "key": "string"
}, - "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "secondsPerDay": 1,
- "totalSeconds": 1,
- "followsTarget": true,
- "startTime": "08:00",
- "recurrence": {
- "every": "week",
- "until": "2026-10-01"
}, - "description": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "team": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "account": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string"
}, - "target": {
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "project",
- "key": "string",
- "title": "string",
- "link": "string",
- "project": {
- "key": "string",
- "title": "string"
}, - "imageUrl": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}, - "missing": true
}, - "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "recurrence": {
- "every": "week",
- "until": "2026-10-01"
}, - "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "occurrence": "2026-10-01",
- "secondsPerDay": 0,
- "totalSeconds": 0,
- "followsTarget": true,
- "startTime": "08:00",
- "description": "string",
- "author": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "createdAt": "2026-10-01T08:15:00+02:00",
- "changedBy": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "changedAt": "2026-10-01T08:15:00+02:00"
}| id 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. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "team": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "account": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string"
}, - "target": {
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "project",
- "key": "string",
- "title": "string",
- "link": "string",
- "project": {
- "key": "string",
- "title": "string"
}, - "imageUrl": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}, - "missing": true
}, - "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "recurrence": {
- "every": "week",
- "until": "2026-10-01"
}, - "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "occurrence": "2026-10-01",
- "secondsPerDay": 0,
- "totalSeconds": 0,
- "followsTarget": true,
- "startTime": "08:00",
- "description": "string",
- "author": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "createdAt": "2026-10-01T08:15:00+02:00",
- "changedBy": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "changedAt": "2026-10-01T08:15:00+02:00"
}Fields left out keep their value; sending secondsPerDay, totalSeconds or followsTarget replaces the others. Without target the plan keeps its target, described anew by its source, and marked missing if the source no longer knows it. The rights of createPlan apply to the plan as it is and as it will be. An employee changes the plans others made for them only while selfPlanning is all; otherwise 403. For a repeating plan, scope occurrence changes only that occurrence, by a plan of its own which the answer returns, and scope following changes the series from that occurrence on, by ending it before and starting a new one, which the answer returns; from the first occurrence on it changes the series itself.
| id 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
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. | |
Uuid (string) or null | |
Uuid (string) or null | |
Uuid (string) or null The account the plan's hours count for; null to let the rules of the accounts decide. | |
object (PlanTargetInput) The connection the target is read through, or a source that needs none. | |
| startDate | string <date> (Date) |
Date (string) or null | |
| secondsPerDay | integer or null [ 1 .. 86400 ] |
| totalSeconds | integer or null [ 1 .. 31622400 ] |
| followsTarget | boolean Plan the target of each day of the period of the employee's working time instead of secondsPerDay or totalSeconds, which must then be null or left out. Not for the plan of a planning team. |
TimeOfDay (string) or null | |
PlanRecurrenceInput (object) or null Repeat the plan every week or month, optionally until a date, which then replaces endDate. Only for the plan of a team with totalSeconds, otherwise a violation of recurrence; null for a plan of one period. | |
| description | string or null <= 2000 characters |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "teamId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "accountId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "target": {
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "kind": "project",
- "key": "string"
}, - "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "secondsPerDay": 1,
- "totalSeconds": 1,
- "followsTarget": true,
- "startTime": "08:00",
- "recurrence": {
- "every": "week",
- "until": "2026-10-01"
}, - "description": "string"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "team": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "account": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string"
}, - "target": {
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "project",
- "key": "string",
- "title": "string",
- "link": "string",
- "project": {
- "key": "string",
- "title": "string"
}, - "imageUrl": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}, - "missing": true
}, - "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "recurrence": {
- "every": "week",
- "until": "2026-10-01"
}, - "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "occurrence": "2026-10-01",
- "secondsPerDay": 0,
- "totalSeconds": 0,
- "followsTarget": true,
- "startTime": "08:00",
- "description": "string",
- "author": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "createdAt": "2026-10-01T08:15:00+02:00",
- "changedBy": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "changedAt": "2026-10-01T08:15:00+02:00"
}For a repeating plan, scope occurrence removes only that occurrence and scope following ends the series before it.
| id 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
{- "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"
}
]
}The people employed in the period whom the filters select, by name: per day their available and planned seconds, the state of the day and whether an absence takes time, with its category, type name and colour only for the person, their managers in scope and HR, as in the absence calendar; and one lane per target with the plans touching the period. A total is spread over the days the person has time, computed on read. Targets come from the stored snapshots; no source is asked. The period has at most 92 days. Each row and plan names the actions the reader may perform on it. Planners read everybody, everybody else themselves and the members of the planning teams they lead or belong to, or everybody while the company's visibility is company. With teamId the grid is the team's view: its members in the period with their role and share, and the team's row with its own plans, which count against no member's time. A member's days always carry the whole capacity and all plans of the person, so the state of a day never depends on a share. Each day adds the team's soft budget (team): the share of the available seconds rounded down to whole minutes (nothing outside the membership) and the seconds planned on the projects the team names. Each plan names the team it counts for. A team the reader does not see answers 404.
| page | integer >= 1 Default: 1 |
| perPage | integer [ 1 .. 200 ] Default: 50 |
| from required | string <date> (Date) Examples: from=2026-10-01 |
| until required | string <date> (Date) Examples: until=2026-10-01 The last day of the period, at most 91 days after from. |
| departmentId | string <uuid> (Uuid) Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Only people of this department on the first day. |
| employeeIds | Array of strings <uuid> (Uuid) <= 500 items [ items <uuid > ] Only these employees, comma-separated. |
| connectionId | string <uuid> (Uuid) Examples: connectionId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Only people with a plan in the period on a target of this connection. |
| source | string <= 50 characters Only people with a plan in the period on a target of this source, such as projects. |
| targetKind | string (TargetKind) Enum: "project" "issue" With targetKey, only people with a plan in the period on this target. |
| targetKey | string <= 200 characters |
| teamId | string <uuid> (Uuid) Examples: teamId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b The view of this planning team. |
| accountId | string <uuid> (Uuid) Examples: accountId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Only people with a plan in the period that counts for this account, by naming it or by a project of its rules. |
| 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. |
{- "from": "2026-10-01",
- "until": "2026-10-01",
- "team": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "lead": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "allowedActions": [
- "createPlan"
], - "lanes": [
- {
- "target": {
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "project",
- "key": "string",
- "title": "string",
- "link": "string",
- "project": {
- "key": "string",
- "title": "string"
}, - "imageUrl": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}, - "missing": true
}, - "plans": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "secondsPerDay": 0,
- "totalSeconds": 0,
- "followsTarget": true,
- "startTime": "08:00",
- "description": "string",
- "account": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string"
}, - "occurrence": {
- "key": "2026-10-01",
- "every": "week"
}, - "recurrence": {
- "every": "week",
- "until": "2026-10-01"
}, - "covered": 0,
- "etag": "string",
- "allowedActions": [
- "updatePlan"
], - "team": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}, - "plannedSeconds": 0,
- "days": 1
}
]
}
]
}, - "items": [
- {
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "allowedActions": [
- "createPlan"
], - "days": [
- {
- "date": "2026-10-01",
- "availableSeconds": 0,
- "plannedSeconds": 0,
- "state": "full",
- "team": {
- "shareSeconds": 0,
- "plannedSeconds": 0
}, - "absent": true,
- "absence": {
- "category": "string",
- "typeName": "string",
- "colour": "string"
}
}
], - "lanes": [
- {
- "target": {
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "project",
- "key": "string",
- "title": "string",
- "link": "string",
- "project": {
- "key": "string",
- "title": "string"
}, - "imageUrl": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}, - "missing": true
}, - "plans": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "startDate": "2026-10-01",
- "endDate": "2026-10-01",
- "secondsPerDay": 0,
- "totalSeconds": 0,
- "followsTarget": true,
- "startTime": "08:00",
- "description": "string",
- "account": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string"
}, - "occurrence": {
- "key": "2026-10-01",
- "every": "week"
}, - "recurrence": {
- "every": "week",
- "until": "2026-10-01"
}, - "covered": 0,
- "etag": "string",
- "allowedActions": [
- "updatePlan"
], - "team": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string"
}
}
]
}
], - "member": {
- "role": "string",
- "share": 1
}
}
], - "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
}
]
}
}Every team with its lead and members by name. A member's maximumTotalShare is the highest sum of their shares in all teams on a day of the membership; above 100 the screen points it out.
| 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",
- "name": "string",
- "lead": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "members": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "maximumTotalShare": 1,
- "etag": "string"
}
], - "projects": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}The lead plans for the team and for its members on the days of their membership. A lead of another company is a violation of leadId.
| 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 ( |
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. | |
| name required | string [ 1 .. 100 ] characters |
Uuid (string) or null |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "name": "string",
- "leadId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "lead": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "members": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "maximumTotalShare": 1,
- "etag": "string"
}
], - "projects": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}Planners read every team, everybody else the teams they lead or belong to; others receive 404.
| id 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. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "lead": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "members": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "maximumTotalShare": 1,
- "etag": "string"
}
], - "projects": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}A leadId of null leaves the team without lead.
| id 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
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. | |
| name | string [ 1 .. 100 ] characters |
Uuid (string) or null |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "name": "string",
- "leadId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "lead": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "members": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "maximumTotalShare": 1,
- "etag": "string"
}
], - "projects": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}The plans of the members stay; only the plans made on the team itself go with it.
| id 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
{- "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"
}
]
}The share is 1 to 100 percent of the member's time; their shares in all teams may add up to more. An employee who is a member of the team on a day of the validity already is a violation of employeeId; a validUntil before validFrom is a violation of validUntil.
| id 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 ( |
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. | |
| employeeId required | string <uuid> (Uuid) |
| role | string or null <= 100 characters |
| share required | integer [ 1 .. 100 ] |
| validFrom required | string <date> (Date) |
Date (string) or null |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "maximumTotalShare": 1,
- "etag": "string"
}Send the membership's ETag from the team as If-Match.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| memberId 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
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. | |
| role | string or null <= 100 characters |
| share | integer [ 1 .. 100 ] |
| validFrom | string <date> (Date) |
Date (string) or null |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "maximumTotalShare": 1,
- "etag": "string"
}The member's plans stay.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| memberId 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
{- "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"
}
]
}The source describes the project once; a project it does not know is a violation of project.key, and so is a project the team names already. The accounts whose rules cover the project belong to the team. A team may name a project that another team names too.
| id 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 ( |
required | object The project, read through a connection or a source that needs none. |
{- "project": {
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "key": "string"
}
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}A named project does not change, so it needs no If-Match. Plans and accounts stay.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| projectId 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"
}
]
}Every employee employed in the department on the date who is no member of the team on that day becomes one with 100 percent from the date on, without role. The team is not kept in step with the department: people who join it later are added by a planner. A department of another company is a violation of departmentId.
| id 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. |
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. | |
| departmentId required | string <uuid> (Uuid) |
| date required | string <date> (Date) The day whose employees of the department become members, from that day on. |
{- "changeReason": {
- "comment": "string",
- "tagIds": [
- "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
], - "highlighted": true
}, - "departmentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "date": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "lead": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "members": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employee": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "displayName": "string",
}, - "role": "string",
- "share": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "maximumTotalShare": 1,
- "etag": "string"
}
], - "projects": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}Team leads read the accounts to name one on a plan, and every employee while the company's planning is visible for company, to filter the grid by one; only planners change them.
| 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",
- "name": "string",
- "key": "string",
- "link": "string",
- "contingents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "period": "week",
- "seconds": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "etag": "string"
}
], - "rules": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}The key is unique in the company regardless of case; a key in use is a violation of key.
| 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 ( |
| name required | string [ 1 .. 100 ] characters |
| key required | string [ 1 .. 50 ] characters ^\s*[\p{L}\p{N}._-]+\s*$ |
| link | string or null <uri> <= 2000 characters |
{- "name": "string",
- "key": "string",
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string",
- "link": "string",
- "contingents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "period": "week",
- "seconds": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "etag": "string"
}
], - "rules": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}The usage of getAccountUsage for each account that has a contingent touching the range from until, by account name; an account without one is left out. The accounts are those of the planning team teamId (the accounts with a rule for one of the team's projects), or those named in accountIds, or, with neither, every account of the company. With both, the accounts of the team that are named. A team the company does not have is 404; the range is that of getAccountUsage.
| from required | string <date> (Date) Examples: from=2026-10-01 |
| until required | string <date> (Date) Examples: until=2026-10-01 |
| teamId | string <uuid> (Uuid) Examples: teamId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| accountIds | string At most 100 account IDs, separated by commas. |
| 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. |
{- "from": "2026-10-01",
- "until": "2026-10-01",
- "items": [
- {
- "account": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string"
}, - "from": "2026-10-01",
- "until": "2026-10-01",
- "periods": [
- {
- "period": "week",
- "from": "2026-10-01",
- "until": "2026-10-01",
- "contingentSeconds": 1,
- "plannedSeconds": 0,
- "remainingSeconds": 0
}
]
}
]
}| id 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. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string",
- "link": "string",
- "contingents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "period": "week",
- "seconds": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "etag": "string"
}
], - "rules": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}A link of null removes it.
| id 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| name | string [ 1 .. 100 ] characters |
| key | string [ 1 .. 50 ] characters ^\s*[\p{L}\p{N}._-]+\s*$ |
| link | string or null <uri> <= 2000 characters |
{- "name": "string",
- "key": "string",
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string",
- "link": "string",
- "contingents": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "period": "week",
- "seconds": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "etag": "string"
}
], - "rules": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}
], - "createdAt": "2026-10-01T08:15:00+02:00"
}| id 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
{- "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 contingent covers whole periods: it starts on the first day of a week (a Monday), month, quarter (January, April, July, October) or year and ends on the last day of one (a weekly contingent on a Sunday), or lasts. The contingents of one account do not overlap; a contingent overlapping another is a violation of validFrom.
| id 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 ( |
| period required | string (ContingentPeriod) Enum: "week" "month" "quarter" "year" The calendar period of a contingent: an ISO week from Monday to Sunday, a month, a quarter (starting in January, April, July and October) or a year. |
| seconds required | integer [ 1 .. 360000000 ] |
| validFrom required | string <date> (Date) |
Date (string) or null |
{- "period": "week",
- "seconds": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "period": "week",
- "seconds": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "etag": "string"
}Send the contingent's ETag from the account as If-Match.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| contingentId 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
| period | string (ContingentPeriod) Enum: "week" "month" "quarter" "year" The calendar period of a contingent: an ISO week from Monday to Sunday, a month, a quarter (starting in January, April, July and October) or a year. |
| seconds | integer [ 1 .. 360000000 ] |
| validFrom | string <date> (Date) |
Date (string) or null |
{- "period": "week",
- "seconds": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "period": "week",
- "seconds": 1,
- "validFrom": "2026-10-01",
- "validUntil": "2026-10-01",
- "etag": "string"
}| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| contingentId 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. |
| If-Match required | string ETag of the representation being modified (optimistic locking). A stale value yields 412. |
{- "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"
}
]
}The source describes the project once; a project it does not know is a violation of project.key. A project belongs to one account at most: a project of another account is a violation of project.key. A plan that names an account counts for that account instead.
| id 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 ( |
required | object The project, read through a connection or a source that needs none. |
{- "project": {
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "key": "string"
}
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "project": {
- "key": "string",
- "title": "string"
}
}A rule does not change, so it needs no If-Match. The plans of the project stay.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| ruleId 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"
}
]
}Every whole period of the account's contingents that touches the range from until, with the contingent, the seconds planned on the account in it and the remainder, negative when more is planned. A plan counts for the account when it names it, or, naming none, when its target is a project of the account's rules or an issue of one. Its hours fall on the days the planning grid shows them on. The range spans at most 1096 days; a longer or backward range is a violation of until.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| from required | string <date> (Date) Examples: from=2026-10-01 |
| until required | string <date> (Date) Examples: until=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. |
{- "account": {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "name": "string",
- "key": "string"
}, - "from": "2026-10-01",
- "until": "2026-10-01",
- "periods": [
- {
- "period": "week",
- "from": "2026-10-01",
- "until": "2026-10-01",
- "contingentSeconds": 1,
- "plannedSeconds": 0,
- "remainingSeconds": 0
}
]
}The data of the widget planning-today: the caller's plans of one day, their current day by default, each with the seconds it plans on the day (a total spread as in the planning grid) and its target from the stored snapshot, by start time and title; and the available and planned seconds of the day with its state and the open or over seconds. Plans of planning teams count against nobody's time and are left out. A caller without an employee record has no plans.
| date | string <date> The day to show, |
| 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. |
{- "date": "2026-10-01",
- "availableSeconds": 0,
- "plannedSeconds": 0,
- "state": "full",
- "openSeconds": 0,
- "overSeconds": 0,
- "absent": true,
- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "target": {
- "source": "string",
- "connectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "kind": "project",
- "key": "string",
- "title": "string",
- "link": "string",
- "project": {
- "key": "string",
- "title": "string"
}, - "imageUrl": "string",
- "colour": {
- "background": "string",
- "text": "#000000"
}, - "missing": true
}, - "seconds": 1,
- "startTime": "08:00",
- "description": "string"
}
]
}