adsum API, ticket time package (1.0.0)

Download OpenAPI specification:

License: GPL-2.0-or-later

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

Ticket time

The timer and the entries of an employee on tickets, which only the employee reads, and the settings of the company.

The caller's running ticket timer, and what they may continue

The timer is shared by every tab and device. While no timer runs, continue names the task a clock-out or the start of a break stopped, if that was the newest timer; nothing restarts by itself.

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
{
  • "timer": {
    },
  • "continue": {
    },
  • "limitSeconds": 0,
  • "defaultConnectionKey": "string",
  • "serverTime": "2026-10-01T08:15:00+02:00"
}

Start the caller's ticket timer

With or without a description and a ticket. A timer that runs is stopped at the instant the new one starts. Two starts at once leave one timer. No operation takes an employee, so nobody starts the timer of somebody else.

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

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

Request Body schema: application/json
optional
description
string <= 1000 characters
string or null

The key of a ticket of a tracker connection; null clears the ticket of a running timer.

string or null

The tracker connection of the ticket, one of the company's; null chooses the default. A connection the company does not have is a violation of connectionKey.

startedAt
string <date-time> (DateTime)

Defaults to the server's time. A click made while adsum was unreachable sends its own time; a start in the future is a violation of startedAt.

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "ticketKey": "string",
  • "connectionKey": "string",
  • "startedAt": "2026-10-01T08:15:00+02:00"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00",
  • "durationSeconds": 28800,
  • "day": "2026-10-01",
  • "running": true,
  • "description": "string",
  • "ticketKey": "string",
  • "ticketTitle": "string",
  • "ticketType": "string",
  • "connectionKey": "string",
  • "stoppedBy": "employee",
  • "syncState": "local",
  • "syncReasons": [
    ],
  • "syncError": "string",
  • "workItemMinutes": 0,
  • "trackerMinutes": 0,
  • "overlapsWith": [
    ],
  • "overlapCorrections": [
    ]
}

Change the running ticket timer

The description, the ticket and the start; the start does not move into the future. The response lists the corrections offered for the entries the changed start now overlaps.

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

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

Request Body schema: application/json
required
description
string <= 1000 characters
string or null

The key of a ticket of a tracker connection; null clears the ticket of a running timer.

string or null

The tracker connection of the ticket, one of the company's; null chooses the default. A connection the company does not have is a violation of connectionKey.

startedAt
string <date-time> (DateTime)

Defaults to the server's time. A click made while adsum was unreachable sends its own time; a start in the future is a violation of startedAt.

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "ticketKey": "string",
  • "connectionKey": "string",
  • "startedAt": "2026-10-01T08:15:00+02:00"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00",
  • "durationSeconds": 28800,
  • "day": "2026-10-01",
  • "running": true,
  • "description": "string",
  • "ticketKey": "string",
  • "ticketTitle": "string",
  • "ticketType": "string",
  • "connectionKey": "string",
  • "stoppedBy": "employee",
  • "syncState": "local",
  • "syncReasons": [
    ],
  • "syncError": "string",
  • "workItemMinutes": 0,
  • "trackerMinutes": 0,
  • "overlapsWith": [
    ],
  • "overlapCorrections": [
    ]
}

Discard the running ticket timer without an entry

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/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Start a timer now on the task the end of work stopped

With the description and the ticket of the stopped entry, which stays as it is. It is refused with 409 while a timer runs and with 404 when there is nothing to continue.

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
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00",
  • "durationSeconds": 28800,
  • "day": "2026-10-01",
  • "running": true,
  • "description": "string",
  • "ticketKey": "string",
  • "ticketTitle": "string",
  • "ticketType": "string",
  • "connectionKey": "string",
  • "stoppedBy": "employee",
  • "syncState": "local",
  • "syncReasons": [
    ],
  • "syncError": "string",
  • "workItemMinutes": 0,
  • "trackerMinutes": 0,
  • "overlapsWith": [
    ],
  • "overlapCorrections": [
    ]
}

Stop the ticket timer and keep it as an entry

Ends the timer at the server's time, or at stoppedAt for a click made while adsum was unreachable. A stop at or before the start is a violation of stoppedAt.

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

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

Request Body schema: application/json
optional
stoppedAt
string <date-time> (DateTime)

Defaults to the server's time. A stop at or before the start is a violation of stoppedAt.

Responses

Request samples

Content type
application/json
{
  • "stoppedAt": "2026-10-01T08:15:00+02:00"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00",
  • "durationSeconds": 28800,
  • "day": "2026-10-01",
  • "running": true,
  • "description": "string",
  • "ticketKey": "string",
  • "ticketTitle": "string",
  • "ticketType": "string",
  • "connectionKey": "string",
  • "stoppedBy": "employee",
  • "syncState": "local",
  • "syncReasons": [
    ],
  • "syncError": "string",
  • "workItemMinutes": 0,
  • "trackerMinutes": 0,
  • "overlapsWith": [
    ],
  • "overlapCorrections": [
    ]
}

List the caller's entries of some days with their totals

The entries whose start lies on the days from from to to (at most 366), newest first, with the total of each day, of the period, of today and of the current week. Only the caller's own entries are returned, whatever role the caller has. overlapsWith names the entries an entry overlaps.

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

The first day of the period, a local date of the employee's office.

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

The last day of the period; at most 366 days from the first, else a violation of to.

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

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

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "items": [
    ],
  • "totals": {
    },
  • "serverTime": "2026-10-01T08:15:00+02:00"
}

Make an entry by hand

Start and end are free: the entry may lie outside the clocked-in time and last longer than the limit per log. An entry that overlaps another is saved and marked, and overlapCorrections offers a shorter end or start for the other.

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

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

Request Body schema: application/json
required
description
string <= 1000 characters
string or null
string or null
startedAt
string <date-time> (DateTime)

An instant with an offset or Z. An input also accepts fractional seconds of any number of digits, as Date.toISOString() sends them; the fraction is dropped. An answer is always in whole seconds.

endedAt
string <date-time> (DateTime)

An instant with an offset or Z. An input also accepts fractional seconds of any number of digits, as Date.toISOString() sends them; the fraction is dropped. An answer is always in whole seconds.

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "ticketKey": "string",
  • "connectionKey": "string",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00",
  • "durationSeconds": 28800,
  • "day": "2026-10-01",
  • "running": true,
  • "description": "string",
  • "ticketKey": "string",
  • "ticketTitle": "string",
  • "ticketType": "string",
  • "connectionKey": "string",
  • "stoppedBy": "employee",
  • "syncState": "local",
  • "syncReasons": [
    ],
  • "syncError": "string",
  • "workItemMinutes": 0,
  • "trackerMinutes": 0,
  • "overlapsWith": [
    ],
  • "overlapCorrections": [
    ]
}

Change an entry of the caller

Any entry at any time, also one of an old month, without approval and without a notification. An entry of somebody else answers 404, whoever asks.

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
description
string <= 1000 characters
string or null
string or null
startedAt
string <date-time> (DateTime)

An instant with an offset or Z. An input also accepts fractional seconds of any number of digits, as Date.toISOString() sends them; the fraction is dropped. An answer is always in whole seconds.

endedAt
string <date-time> (DateTime)

An instant with an offset or Z. An input also accepts fractional seconds of any number of digits, as Date.toISOString() sends them; the fraction is dropped. An answer is always in whole seconds.

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "ticketKey": "string",
  • "connectionKey": "string",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00",
  • "durationSeconds": 28800,
  • "day": "2026-10-01",
  • "running": true,
  • "description": "string",
  • "ticketKey": "string",
  • "ticketTitle": "string",
  • "ticketType": "string",
  • "connectionKey": "string",
  • "stoppedBy": "employee",
  • "syncState": "local",
  • "syncReasons": [
    ],
  • "syncError": "string",
  • "workItemMinutes": 0,
  • "trackerMinutes": 0,
  • "overlapsWith": [
    ],
  • "overlapCorrections": [
    ]
}

Delete an entry of the caller

It disappears from the lists and totals. An entry of somebody else answers 404, whoever asks.

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

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

Responses

Response samples

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

Try to write an entry to the tracker again

Makes the sync of an own entry due now, such as after it failed. Any change of the entry retries it as well. Nothing is sent for an entry that is not a valid work item. An entry of somebody else answers 404.

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

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

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00",
  • "durationSeconds": 28800,
  • "day": "2026-10-01",
  • "running": true,
  • "description": "string",
  • "ticketKey": "string",
  • "ticketTitle": "string",
  • "ticketType": "string",
  • "connectionKey": "string",
  • "stoppedBy": "employee",
  • "syncState": "local",
  • "syncReasons": [
    ],
  • "syncError": "string",
  • "workItemMinutes": 0,
  • "trackerMinutes": 0,
  • "overlapsWith": [
    ],
  • "overlapCorrections": [
    ]
}

Write adsum's state of an entry into the work item that was changed in the tracker

Only for an entry in the state changedInTracker, whose work item somebody changed in the tracker and which adsum therefore no longer writes. Writes adsum's state once and takes the new stamp of the work item. An entry in another state answers 409; an entry of somebody else answers 404.

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

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

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "startedAt": "2026-10-01T08:15:00+02:00",
  • "endedAt": "2026-10-01T08:15:00+02:00",
  • "durationSeconds": 28800,
  • "day": "2026-10-01",
  • "running": true,
  • "description": "string",
  • "ticketKey": "string",
  • "ticketTitle": "string",
  • "ticketType": "string",
  • "connectionKey": "string",
  • "stoppedBy": "employee",
  • "syncState": "local",
  • "syncReasons": [
    ],
  • "syncError": "string",
  • "workItemMinutes": 0,
  • "trackerMinutes": 0,
  • "overlapsWith": [
    ],
  • "overlapCorrections": [
    ]
}

List what changed in an entry of the caller

The history of an entry is a help for the employee and is read by the employee alone: HR, managers and administrators get it neither here nor through the search of the change history. It is found for an entry that was deleted since, and for an entry of somebody else the answer is 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
{
  • "items": [
    ]
}

Suggest previous entries and tickets for what the caller types

Up to 5 of the caller's own earlier entries whose description, ticket ID or ticket title contains the text, each pair of description and ticket once, the newest first, and up to 10 tickets of the tracker connections the caller has a token for, found with that token alone: by ticket ID, which also finds a resolved ticket, or by title, which finds unresolved tickets only. The tickets are ranked: a typed ticket ID first, then up to 5 unresolved tickets assigned to the caller (reason assigned), then up to 5 tickets the caller booked on most often in the last 30 days that the token still sees (reason frequent), then the other matches. Without text the newest entries and the top of the assigned and the frequent tickets are offered. Tickets of an excluded type are left out. A connection without a usable token is not asked and is named in connectionsWithoutToken; an unreachable tracker leaves the entries and answers trackerUnreachable. connectionKey limits the tickets to one connection of the company.

Authorizations:
bearerAuthsessionCookie
query Parameters
q
string <= 200 characters

What the caller has typed, at most 200 characters; case does not matter, and none or only blanks offers the newest entries.

connectionKey
string <= 100 characters

The key of a tracker connection of the company; the tickets are searched on that connection only.

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
{
  • "previous": [
    ],
  • "tickets": [
    ],
  • "trackerUnreachable": true,
  • "connectionsWithoutToken": [
    ]
}

List the days that wait for the caller's decision

When the caller adds a token, the entries that waited for it are checked against the tracker day by day. A day on which the tracker holds time of the caller is listed here, with the waiting entries and the work items of the tracker side by side, and nothing is pushed for it until the caller decided. There is no age limit. The version names the work items shown; the decision names it again. A tracker 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.

Responses

Response samples

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

Decide a day under review

Decides every waiting entry of the day in one request, on the version of the tracker's work items that was shown. Push makes a new work item; merge links the entry to a work item of the tracker on the same ticket and corrects either the entry (its end moves to fit the work item's minutes) or the work item (written once, as an overwrite); keepLocal keeps the entry in adsum only, and nothing of it is pushed after later changes either. Nothing is pushed before. If the tracker's work items changed since they were shown, the answer is 409 and the day stays under review. A day of somebody else is not found.

Authorizations:
bearerAuthsessionCookie
path Parameters
date
required
string <date> (Date)
Examples: 2026-10-01

The day under review in the time zone of the caller's office.

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
connectionKey
required
string <= 100 characters
version
required
string <= 100 characters

The version of the day as it was listed.

required
Array of objects (TicketTimeReviewDecision) [ 1 .. 500 ] items

Exactly one decision for every waiting entry of the day.

Responses

Request samples

Content type
application/json
{
  • "connectionKey": "string",
  • "version": "string",
  • "decisions": [
    ]
}

Response samples

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

Read the data of the widget "Ticket timer"

The caller's own timer as getTicketTimer answers it, and today's entries with the totals as listTicketTimeEntries answers them (widget ticket-timer). Only the caller's own data is returned, whatever role the caller has; the widget is offered once the company has a ticketing connection, else the answer is 403.

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
{
  • "timer": {
    },
  • "entries": {
    }
}

Get the settings of ticket time of the company

The default connection, the excluded ticket types and the limit per log, with the connections of the company and the ticket types they return; the defaults while the company never saved 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
{
  • "defaultConnectionKey": "string",
  • "excludedTypes": [
    ],
  • "limitMinutes": 30,
  • "connections": [
    ],
  • "availableTypes": [
    ]
}

Change the settings of ticket time of the company

An excluded type the connections do not return is a violation of excludedTypes, and so is any change of the list while a connection cannot be asked; the saved list stays. A default connection the company does not have is a violation of defaultConnectionKey, a limit outside 30 to 1440 minutes of limitMinutes. Entries already synced are not touched by a change.

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

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

Request Body schema: application/json
required
required
string or null

The tracker connection entries with a ticket belong to unless the employee or the entry chooses another; null when the company has not chosen, which is right while it has one connection only.

excludedTypes
required
Array of strings <= 50 items unique [ items [ 1 .. 100 ] characters ]

The ticket types that are rejected, from the types the tracker connections return; Epic and Component until the company changes them.

limitMinutes
required
integer [ 30 .. 1440 ]

The limit per log in minutes, from 30 to 1440; a running timer that reaches it only warns.

Responses

Request samples

Content type
application/json
{
  • "defaultConnectionKey": "string",
  • "excludedTypes": [
    ],
  • "limitMinutes": 30
}

Response samples

Content type
application/json
{
  • "defaultConnectionKey": "string",
  • "excludedTypes": [
    ],
  • "limitMinutes": 30,
  • "connections": [
    ],
  • "availableTypes": [
    ]
}

List the tracker connections of the company with the caller's tokens

The connections of the active company that an installed tracker offers for ticket time, each with whether the caller has a token for it and which account it belongs to. The token itself is never returned, and nobody reads the tokens of somebody else. Without a connection ticket time works without tickets only.

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

Save the caller's token for a tracker connection

The token is checked against the tracker first: one the tracker refuses, or reads as a guest, is a violation of token and nothing is saved; an unreachable tracker answers 503. A saved token is stored encrypted with its account and replaces an earlier token of the connection. Entries that waited for a token are not pushed at once; they are checked against the tracker day by day.

Authorizations:
bearerAuthsessionCookie
path Parameters
connectionKey
required
string <= 100 characters

The key of one of the tracker connections of the company.

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
token
required
string [ 1 .. 1000 ] characters

The caller's permanent token of the tracker. It is checked before it is saved and never returned.

Responses

Request samples

Content type
application/json
{
  • "token": "string"
}

Response samples

Content type
application/json
{
  • "key": "string",
  • "kind": "string",
  • "name": "string",
  • "baseUrl": "string",
  • "issueUrl": "string",
  • "tokenSet": true,
  • "accountLogin": "string",
  • "accountName": "string",
  • "refused": true,
  • "mine": true,
  • "company": true
}

Remove the caller's token for a tracker connection

Entries with a ticket of the connection wait for a token again; work items already made stay untouched in the tracker.

Authorizations:
bearerAuthsessionCookie
path Parameters
connectionKey
required
string <= 100 characters

The key of one of the tracker connections of the company.

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

Choose the tracker connection the caller's entries belong to by default

Ahead of the default of the company, behind the choice made for one entry. A connection the company does not have is a violation of connectionKey.

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

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

Request Body schema: application/json
required
connectionKey
required
string <= 100 characters

The key of one of the tracker connections of the company.

Responses

Request samples

Content type
application/json
{
  • "connectionKey": "string"
}

Response samples

Content type
application/json
{
  • "connectionKey": "string"
}

Remove the caller's default tracker connection

The default of the company, or the only connection, applies again.

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/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}