Youniton Docs

Time

Log, read and change worklogs, read week grids and timesheets, and submit your own timesheets.

12 token operations · 33 app-only

#Today's total and target, the current period's total and capacity, and the logging streak

GET/me/time-summary
Personal tokentime:readSessionF-TIM-08

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Responses

200The member's own summary.application/json

#The project's team for the timesheet period containing the date — approvers only

GET/projects/{projectKey}/team-periods/{date}
Personal tokentime:readSessionF-TIM-06

Path parameters

projectKeyrequiredstring

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

daterequiredstring (date)

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Responses

200One row per project member with total, capacity and the sheet.application/json
Errors400404One problem shape

#The timesheet period containing the date — the member's worklog grid across projects

GET/time/periods/{date}
Personal tokentime:readSessionF-TIM-01

Path parameters

daterequiredstring (date)

Any date of the wanted period (the catalogue's periodStart is accepted as such).

Query parameters

memberIdstring (uuid)

Another member's grid, for approvers and all-entries viewers.

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Responses

200The period with rows, totals, capacity and the member's timesheets of the period.application/json
Errors400404One problem shape

#Timesheets by member, project, state and period — the Approvals panel and approval queues

GET/timesheets
Personal tokentime:readSessionF-TIM-04

Query parameters

filterobject

filter[memberId]=me|<id>, filter[projectKey], filter[state]=draft,submitted,approved,returned, filter[periodFrom], filter[periodTo].

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Responses

200Timesheets, newest period first.application/json
Errors400404One problem shape

#One timesheet, with its revisions and decisions on include=revisions

GET/timesheets/{timesheetId}
Personal tokentime:readSessionF-TIM-04

Path parameters

timesheetIdrequiredstring (uuid)

Query parameters

includestring

One of: revisions

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Responses

200The timesheet and, when asked, its history.application/json
Errors400404One problem shape

#Submit the sheet for approval, freezing a revision

POST/timesheets/{timesheetId}/submit
Personal tokentime:writeSessionIdempotency-KeyF-TIM-04

Path parameters

timesheetIdrequiredstring (uuid)

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Responses

200The sheet, Submitted, with its new revision number.application/json
Errors403404409One problem shape

#The member takes back a submission before any decision

POST/timesheets/{timesheetId}/withdraw
Personal tokentime:writeSessionIdempotency-KeyF-TIM-04

Path parameters

timesheetIdrequiredstring (uuid)

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

200The sheet, Draft again, with the withdrawal in its decisions.application/json
Errors403404409One problem shape

#The worklogs behind one grid cell (member, date and row), or the caller's worklogs of a range of dates

GET/worklogs
Personal tokentime:readSessionF-TIM-03

Query parameters

filterrequiredobject

A range (F-TIM-03.R11): filter[from] and filter[to], both included, at most 62 days, the caller's own worklogs only (filter[memberId] absent or me); no filter[date] and no row with a range. A cell: filter[memberId] (default me), filter[date], filter[ticketKey] or filter[categoryId] with filter[projectKey].

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Responses

200Worklogs oldest first with their affordances; a range in the order (date, start time with untimed entries last, id).application/json
Errors400404422One problem shape

#Log time for the signed-in member on a ticket or a category

POST/worklogs
Personal tokentime:writeSessionIdempotency-KeyF-TIM-02

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The worklog with its timesheet.application/json
Errors403404409422One problem shape

#One worklog as the caller reads it, with its ETag (G230 — the target read of the assistant's change and delete of an entry)

GET/worklogs/{worklogId}
Personal tokentime:readSessionF-TIM-03

Path parameters

worklogIdrequiredstring (uuid)

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

Responses

200The worklog; the ETag is its version.application/json

#Change a worklog's duration, note, date within its period, or subject (another ticket, a category or another project — R12)

PATCH/worklogs/{worklogId}
Personal tokentime:writeSessionIf-MatchF-TIM-03

Path parameters

worklogIdrequiredstring (uuid)

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The changed worklog.application/json
Errors403404409412422428One problem shape

#Delete a worklog (clear)

DELETE/worklogs/{worklogId}
Personal tokentime:writeSessionIf-MatchF-TIM-03

Path parameters

worklogIdrequiredstring (uuid)

Query parameters

reasonstring

Required for an approver's change of a submitted sheet (1–500 characters).

Max length 500

Headers

X-Kanso-Tenantstring (uuid)

Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3).

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

204Cleared.

No body.

Errors403404409412422428One problem shape

#The closed and announced logging periods that reach the caller in a range

GET/me/logging-periods
Session (app only)F-TIM-13

Query parameters

fromrequiredstring (date)
torequiredstring (date)

On or after from; the range is at most 400 days.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The closed and announced periods that reach the caller, in start order.application/json
Errors400404422One problem shape

#The member's repeat series of time entries (F-TIM-02.R17; XM-960)

GET/me/time/series
Session (app only)F-TIM-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The member's own series, newest start first; a series whose project or ticket the member can no longer log to is missing.application/json
Errors403404One problem shape

#Repeat a time entry — every occurrence through the horizon is a real entry (F-TIM-02.R17; XM-960)

POST/me/time/series
Session (app only)Idempotency-KeyF-TIM-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The series; its occurrences are in listWorklogs and the week grid.application/json
Errors403404409422One problem shape

#Change all entries of a repeat series, or this and the following ones (F-TIM-02.R17; XM-960)

PUT/me/time/series/{seriesId}
Session (app only)If-MatchF-TIM-02

Path parameters

seriesIdrequiredstring (uuid)

Query parameters

scopestring

"All entries" (all, the default) or "This and following" (following, with from). "This entry" is editWorklog / clearWorklog on the occurrence.

One of: all following

fromstring (date)

The first occurrence date that following changes or deletes; a date on or before the start is all.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The series after the change — for following, the new series that holds the entries from from.application/json
Errors400403404409412422428One problem shape

#Delete all entries of a repeat series, or this and the following ones (F-TIM-02.R17; XM-960)

DELETE/me/time/series/{seriesId}
Session (app only)If-MatchF-TIM-02

Path parameters

seriesIdrequiredstring (uuid)

Query parameters

scopestring

"All entries" (all, the default) or "This and following" (following, with from). "This entry" is editWorklog / clearWorklog on the occurrence.

One of: all following

fromstring (date)

The first occurrence date that following changes or deletes; a date on or before the start is all.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

204Deleted.

No body.

Errors400403404409412428One problem shape

#Star a ticket for time logging (F-TIM-02.R15; XM-957)

PUT/me/time/starred-tickets/{ticketKey}
Session (app only)F-TIM-02

Path parameters

ticketKeyrequiredstring

Max length 40

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The shortcuts after the change; a ticket already starred changes nothing.application/json
Errors403404409One problem shape

#Remove the star of a ticket (F-TIM-02.R15; XM-957)

DELETE/me/time/starred-tickets/{ticketKey}
Session (app only)F-TIM-02

Path parameters

ticketKeyrequiredstring

Max length 40

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The shortcuts after the change; a star that is not there changes nothing.application/json
Errors403404One problem shape

#The member's starred and recent tickets for time logging (F-TIM-02.R15, R16; XM-957, XM-958)

GET/me/time/ticket-shortcuts
Session (app only)F-TIM-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The tickets the member can still see and log to; hidden ones are missing.application/json
Errors403404One problem shape

#The member opened a ticket — it becomes their most recent ticket (F-TIM-02.R16; XM-958)

POST/me/time/ticket-visits
Session (app only)F-TIM-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

204Recorded.

No body.

Errors403404422One problem shape

#The cost and bill rates in force on a date, per subject (view_rates; audited)

GET/rate-card
Session (app only)F-FIN-02

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

asOfstring (date)
filter[subjectKind]string

One of: role member project_role project_member

filter[projectKey]string

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of 100 rows.application/json
Errors400403404503One problem shape

#The history of rate versions of one subject (view_rates; audited)

GET/rate-versions
Session (app only)F-FIN-02

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

filter[subjectKind]requiredstring

One of: role member project_role project_member

filter[memberId]string (uuid)
filter[deliveryRoleId]string (uuid)
filter[projectKey]string

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

filter[rateKind]string

One of: cost bill

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of 50 versions, newest effective date first, then newest recorded.application/json
Errors400403404503One problem shape

#Record a rate version for a subject from an effective date, an end, or a correction

POST/rate-versions
Session (app only)Idempotency-KeyF-FIN-02

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The recorded version.application/json
Errors403404422One problem shape

#One rate version (view_rates; audited)

GET/rate-versions/{rateVersionId}
Session (app only)F-FIN-02

Path parameters

rateVersionIdrequiredstring (uuid)

A rate version's id; hidden and missing are one 404.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The version.application/json
Errors403404503One problem shape

#The tenant's non-ticket categories (active first, then archived for Admins)

GET/time/categories
Session (app only)F-TIM-11

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200Categories in their order.application/json

#Save the category list — add, rename, reorder, archive

PUT/time/categories
Session (app only)If-MatchF-TIM-11

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The saved list.application/json
Errors403404412422428One problem shape

#The logging periods of a range in the reader's Team timesheets reach (every state)

GET/time/logging-periods
Session (app only)F-TIM-13

Query parameters

fromrequiredstring (date)
torequiredstring (date)

On or after from; the range is at most 400 days.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The periods that overlap the range, in start order.application/json
Errors400404422One problem shape

#Close a logging period now, or announce its close for a date (a holder of close_logging_periods, inside the reach)

POST/time/logging-periods
Session (app only)Idempotency-KeyF-TIM-13

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchstring

The version of the existing period of this kind, start and scope; a different version is 412.

Request body application/jsonrequired

Loading the schema…

Responses

200The period, closed or announced. The change is audited (time.logging_period_closed or time.logging_period_announced).application/json
Errors404409412422One problem shape

#Reopen a closed logging period with a reason

POST/time/logging-periods/{periodId}/reopen
Session (app only)Idempotency-KeyIf-MatchF-TIM-13

Path parameters

periodIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The period, reopened. The reopen is audited with its reason (time.logging_period_reopened).application/json
Errors404409412422428One problem shape

#The announcements, closes and reopens of the logging periods in the reach, newest first (a holder of close_logging_periods)

GET/time/logging-periods/history
Session (app only)F-TIM-13

Query parameters

cursorstring

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200One page of 50 rows; meta.nextCursor reads the next page.application/json
Errors400404One problem shape

#The time written on behalf of the people in the reader's Team timesheets or on-behalf reach, newest first, 50 a page

GET/time/on-behalf-log
Session (app only)F-TIM-14

Query parameters

fromrequiredstring (date)
torequiredstring (date)

On or after from; the range is at most 400 days.

cursorstring

The meta.nextCursor of the previous page.

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200One page of rows.application/json
Errors400404422One problem shape

#The people of the actor's log_time_on_behalf reach for the "For" field, by name, 20 a page

GET/time/on-behalf/people
Session (app only)F-TIM-14

Query parameters

qstring

A part of the name, in any case.

Max length 100

cursorstring

The meta.nextCursor of the previous page.

Max length 4

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200One page of people.application/json
Errors400404One problem shape

#The reader's projects with a time level, with the minutes and the billable minutes of a period that the level lets the reader read

GET/time/project-totals
Session (app only)F-TIM-12

Query parameters

fromrequiredstring (date)
torequiredstring (date)

On or after from; the period is at most 42 days.

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The projects (F-TIM-12.R09). A reader with no time level gets no project; a client guest gets 404 (not a guest route).application/json
Errors400404422One problem shape

#The projects where the member may log time (R11), by key, a cursor page with the total

GET/time/projects
Session (app only)F-TIM-02

Query parameters

qstring

Max length 120

page[size]integer

Default: 20 · Min 1 · Max 100

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200One page of the projects by key; meta.total counts all that match q; links.next while more remain.application/json
Errors400403404One problem shape

#The Time settings in force, any pending version and the next period boundary

GET/time/settings
Session (app only)F-TIM-11

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The settings; ETag carries the settings version.application/json
Errors403404One problem shape

#Change Time settings — period-bound keys from the next boundary, the others at once

PUT/time/settings
Session (app only)If-MatchF-TIM-11

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The settings with the pending version, its effective date and any transition period.application/json
Errors403404412422428One problem shape

#Dry run — the boundary, the transition period and the consequence sentences of a change

POST/time/settings/validate
Session (app only)F-TIM-11

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

200The consequences; nothing was written.application/json
Errors403404422One problem shape

#The people of the reader's Team timesheets reach for a period, with minutes per day, the billable split and the status

GET/time/team-timesheets
Session (app only)F-TIM-12

Query parameters

fromrequiredstring (date)
torequiredstring (date)

On or after from; the period is at most 42 days.

groupBystring

One of: team project client · Default: "team"

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200Each person of the reach once, by name. Every read writes the audit record time.team_timesheets_read.application/json
Errors400404422One problem shape

#One person's worklogs of the period (a person of the reader's reach), newest first, 100 a page

GET/time/team-timesheets/entries
Session (app only)F-TIM-12

Query parameters

memberIdrequiredstring (uuid)
fromrequiredstring (date)
torequiredstring (date)
page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The entries; each drill-down writes the audit record time.team_timesheets_read.application/json
Errors400404422One problem shape

#Tickets the member may log time on, for the Log time picker (at most 20)

GET/time/ticket-candidates
Session (app only)F-TIM-02

Query parameters

qstring

Max length 120

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200Matching tickets, or recently logged ones for an empty query.application/json
Errors400403404One problem shape

#Approve the named (latest) revision of a submitted timesheet

POST/timesheets/{timesheetId}/approve
Session (app only)Idempotency-KeyF-TIM-05

Path parameters

timesheetIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

200The approved timesheet.application/json
Errors403404409One problem shape

#Reopen one member's submitted or approved timesheet for filling, with a reason

POST/timesheets/{timesheetId}/reopen
Session (app only)Idempotency-KeyF-TIM-05

Path parameters

timesheetIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

200The timesheet, Draft again, with its history kept.application/json
Errors403404409422One problem shape

#Return a submitted timesheet to its member with a note

POST/timesheets/{timesheetId}/return
Session (app only)Idempotency-KeyF-TIM-05

Path parameters

timesheetIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

200The returned timesheet.application/json
Errors403404409422One problem shape

#Export the visible worklogs of a range as CSV — streamed up to 100,000 rows, otherwise an operation

POST/timesheets/export
Session (app only)Idempotency-KeyF-TIM-10

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

200The CSV file (Content-Disposition attachment), UTF-8 with a byte-order mark.text/csv
202A large export runs as an operation; Location points to it.application/json
Errors404409422429One problem shape

Was this helpful?