adsum API, planning package (1.0.0)

Download OpenAPI specification:

License: GPL-2.0-or-later

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.

Planning

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.

List the installed sources of plan targets and the company's connections of each

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.

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 the connections of the company to the systems behind its plan sources

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": [
    ]
}

Connect the company to the system behind a plan source

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.

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
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.

Responses

Request samples

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

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "source": "string",
  • "name": "string",
  • "settings": { },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Get a connection without its secrets

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",
  • "source": "string",
  • "name": "string",
  • "settings": { },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Rename a connection or change its settings

The settings, when given, replace the stored ones; a secret left out keeps its stored value.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
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.

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 .. 100 ] characters
object

Every setting the source names; a secret left out keeps its stored value.

Responses

Request samples

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

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "source": "string",
  • "name": "string",
  • "settings": { },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Delete a connection no plan is made on

A connection that plans are made on answers 409, as the plans would lose their target.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
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.

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": [
    ]
}

Get what people may do with their own plans and who plans for everybody

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": {
    },
  • "selfPlanning": "off",
  • "visibility": "team",
  • "plannerIds": [
    ]
}

Decide what people may do with their own plans, name the planners and decide whose planning people read

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.

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.

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.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "selfPlanning": "off",
  • "visibility": "team",
  • "plannerIds": [
    ]
}

Response samples

Content type
application/json
{
  • "changeReason": {
    },
  • "selfPlanning": "off",
  • "visibility": "team",
  • "plannerIds": [
    ]
}

Search the projects or issues of one source by text

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.

Authorizations:
bearerAuthsessionCookie
query Parameters
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.

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 bar colours of targets whose image has loaded since the grid was read

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.

Authorizations:
bearerAuthsessionCookie
query Parameters
required
Array of objects [ 1 .. 50 ] items

The targets as a list, targets[0][source]=youtrack&targets[0][connectionId]=...&targets[0][kind]=issue&targets[0][key]=WV-154&targets[0][projectKey]=WV; the connectionId is named for a source that needs one.

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 image of a project or issue, such as the icon of a YouTrack project

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.

Authorizations:
bearerAuthsessionCookie
query Parameters
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.

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 plans, a planner's of everybody, everybody else's of themselves and their planning teams

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.

Authorizations:
bearerAuthsessionCookie
query Parameters
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.

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": {
    }
}

Plan an employee or a planning team on a project or issue

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.

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

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "teamId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "accountId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "target": {
    },
  • "startDate": "2026-10-01",
  • "endDate": "2026-10-01",
  • "secondsPerDay": 1,
  • "totalSeconds": 1,
  • "followsTarget": true,
  • "startTime": "08:00",
  • "recurrence": {
    },
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "team": {
    },
  • "account": {
    },
  • "target": {
    },
  • "startDate": "2026-10-01",
  • "endDate": "2026-10-01",
  • "recurrence": {
    },
  • "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "occurrence": "2026-10-01",
  • "secondsPerDay": 0,
  • "totalSeconds": 0,
  • "followsTarget": true,
  • "startTime": "08:00",
  • "description": "string",
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "changedBy": {
    },
  • "changedAt": "2026-10-01T08:15:00+02:00"
}

Get a plan

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",
  • "employee": {
    },
  • "team": {
    },
  • "account": {
    },
  • "target": {
    },
  • "startDate": "2026-10-01",
  • "endDate": "2026-10-01",
  • "recurrence": {
    },
  • "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "occurrence": "2026-10-01",
  • "secondsPerDay": 0,
  • "totalSeconds": 0,
  • "followsTarget": true,
  • "startTime": "08:00",
  • "description": "string",
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "changedBy": {
    },
  • "changedAt": "2026-10-01T08:15:00+02:00"
}

Change, move or resize a plan

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.

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

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "teamId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "accountId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "target": {
    },
  • "startDate": "2026-10-01",
  • "endDate": "2026-10-01",
  • "secondsPerDay": 1,
  • "totalSeconds": 1,
  • "followsTarget": true,
  • "startTime": "08:00",
  • "recurrence": {
    },
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "team": {
    },
  • "account": {
    },
  • "target": {
    },
  • "startDate": "2026-10-01",
  • "endDate": "2026-10-01",
  • "recurrence": {
    },
  • "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "occurrence": "2026-10-01",
  • "secondsPerDay": 0,
  • "totalSeconds": 0,
  • "followsTarget": true,
  • "startTime": "08:00",
  • "description": "string",
  • "author": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "changedBy": {
    },
  • "changedAt": "2026-10-01T08:15:00+02:00"
}

Delete a plan

For a repeating plan, scope occurrence removes only that occurrence and scope following ends the series before it.

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": [
    ]
}

Read the planning grid of a period, a planner's of everybody, everybody else's of their teams

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.

Authorizations:
bearerAuthsessionCookie
query Parameters
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.

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",
  • "until": "2026-10-01",
  • "team": {
    },
  • "items": [
    ],
  • "meta": {
    }
}

List planning teams, a planner's of the company, everybody else's they lead or belong to

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.

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 planning team with an optional lead

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.

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

Responses

Request samples

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

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "lead": {
    },
  • "members": [
    ],
  • "projects": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Get a planning team with its members

Planners read every team, everybody else the teams they lead or belong to; others receive 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",
  • "name": "string",
  • "lead": {
    },
  • "members": [
    ],
  • "projects": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Rename a planning team or name its lead

A leadId of null leaves the team without lead.

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

Responses

Request samples

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

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "lead": {
    },
  • "members": [
    ],
  • "projects": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Delete a planning team with its members and its plans

The plans of the members stay; only the plans made on the team itself go with it.

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": [
    ]
}

Make an employee a member of a planning team with a role, a share and a validity

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.

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.

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

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "role": "string",
  • "share": 1,
  • "validFrom": "2026-10-01",
  • "validUntil": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "role": "string",
  • "share": 1,
  • "validFrom": "2026-10-01",
  • "validUntil": "2026-10-01",
  • "maximumTotalShare": 1,
  • "etag": "string"
}

Change the role, share or validity of a membership

Send the membership's ETag from the team as If-Match.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
memberId
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
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

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "role": "string",
  • "share": 1,
  • "validFrom": "2026-10-01",
  • "validUntil": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "role": "string",
  • "share": 1,
  • "validFrom": "2026-10-01",
  • "validUntil": "2026-10-01",
  • "maximumTotalShare": 1,
  • "etag": "string"
}

Remove a membership from a planning team

The member's plans stay.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
memberId
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": [
    ]
}

Name a project of a connection for a team

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.

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.

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
required
object

The project, read through a connection or a source that needs none.

Responses

Request samples

Content type
application/json
{
  • "project": {
    }
}

Response samples

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

Release a project of a team

A named project does not change, so it needs no If-Match. Plans and accounts stay.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
projectId
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": [
    ]
}

Add the employees of a department on a day to a planning team, once

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.

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
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.

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "departmentId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "date": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "lead": {
    },
  • "members": [
    ],
  • "projects": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

List the accounts of the company with their contingents

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.

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 an account, a customer with contingents of hours

The key is unique in the company regardless of case; a key in use is a violation of key.

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
required
string [ 1 .. 100 ] characters
key
required
string [ 1 .. 50 ] characters ^\s*[\p{L}\p{N}._-]+\s*$
link
string or null <uri> <= 2000 characters

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "key": "string",
  • "link": "string",
  • "contingents": [
    ],
  • "rules": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Contingent, planned and remaining hours of several accounts in one request

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.

Authorizations:
bearerAuthsessionCookie
query Parameters
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.

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",
  • "until": "2026-10-01",
  • "items": [
    ]
}

Get an account with its contingents

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",
  • "name": "string",
  • "key": "string",
  • "link": "string",
  • "contingents": [
    ],
  • "rules": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Rename an account, or change its key or link

A link of null removes it.

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 .. 100 ] characters
key
string [ 1 .. 50 ] characters ^\s*[\p{L}\p{N}._-]+\s*$
link
string or null <uri> <= 2000 characters

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "name": "string",
  • "key": "string",
  • "link": "string",
  • "contingents": [
    ],
  • "rules": [
    ],
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Delete an account with its contingents

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": [
    ]
}

Give an account a contingent of hours per week, month, quarter or year

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.

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.

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

Responses

Request samples

Content type
application/json
{
  • "period": "week",
  • "seconds": 1,
  • "validFrom": "2026-10-01",
  • "validUntil": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "period": "week",
  • "seconds": 1,
  • "validFrom": "2026-10-01",
  • "validUntil": "2026-10-01",
  • "etag": "string"
}

Change the period, hours or validity of a contingent

Send the contingent's ETag from the account as If-Match.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
contingentId
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
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

Responses

Request samples

Content type
application/json
{
  • "period": "week",
  • "seconds": 1,
  • "validFrom": "2026-10-01",
  • "validUntil": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "period": "week",
  • "seconds": 1,
  • "validFrom": "2026-10-01",
  • "validUntil": "2026-10-01",
  • "etag": "string"
}

Remove a contingent from an account

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
contingentId
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": [
    ]
}

Let the plans of a project and of its issues count for an account

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.

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.

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
required
object

The project, read through a connection or a source that needs none.

Responses

Request samples

Content type
application/json
{
  • "project": {
    }
}

Response samples

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

Remove a project from an account

A rule does not change, so it needs no If-Match. The plans of the project stay.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
ruleId
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": [
    ]
}

Contingent, planned and remaining hours of an account per period of its contingents

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.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
from
required
string <date> (Date)
Examples: from=2026-10-01
until
required
string <date> (Date)
Examples: until=2026-10-01
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
{
  • "account": {
    },
  • "from": "2026-10-01",
  • "until": "2026-10-01",
  • "periods": [
    ]
}

My plans of today

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.

Authorizations:
bearerAuthsessionCookie
query Parameters
date
string <date>

The day to show, YYYY-MM-DD; the caller's today by default. Plans may be looked at in advance; no date yields 400.

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
{
  • "date": "2026-10-01",
  • "availableSeconds": 0,
  • "plannedSeconds": 0,
  • "state": "full",
  • "openSeconds": 0,
  • "overSeconds": 0,
  • "absent": true,
  • "items": [
    ]
}