Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

Time

Time

A worklog: minutes of work booked by one employee against one project on one calendar day, optionally attached to a task and a work item.

View as Markdown
Summary view
TimeList, 23 fields. What a list returns by default.
Detail view
Time, 25 fields. The default for a single read and for every write.
Write with
api:write:times

Billability is inferred from the task, and overriding the inference needs a billable_change_reason. An entry that exceeds its budget, or whose billability was overridden, enters a reviewer's queue until a reviewer settles it; while it sits there, and forever after it has been invoiced, it is locked against changes.

Used by

POSTLog time/worklogsTime
GETRead a worklog/worklogs/{worklog}Time
PATCHCorrect a worklog/worklogs/{worklog}Time

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

datedate (YYYY-MM-DD)

The calendar day the work happened.

minutesinteger

Duration in minutes, between 1 and 1440.

descriptionstring≤ 255

What the employee worked on.

project_idinteger or null

Project the hours are booked against; null once that project is deleted.

projectRef or ProjectSummary or null

The project the hours are booked against, always expanded. Its customer_id is the customer to fetch with GET /api/v2/customers/{customer}; the customer itself is not nested.

budget_idinteger or nullServer-assigned

Budget the hours are invoiced against. Derived from the task, never accepted on a write; null when no task is set or the budget is deleted.

budgetRef or BudgetSummary or null

The budget the hours are invoiced against. Expanding it with ?include=budget additionally requires the budgets::read permission and a token scope covering the budgets prefix.

task_idinteger or null

Task the hours are booked on; null when the entry is not attached to one, or once that task is deleted.

taskRef or TaskSummary or null

The task the hours are booked on. Expanding it with ?include=task additionally requires the kanban::manage_self permission and a token scope covering the kanban prefix, and is limited to the tasks you can see on the tasks collection.

Variants

TimeList 23 fields

What a collection returns, and what ?view=summary returns on a single record.

Leaves out: reason, billable_change_reason

TimeSummary 3 fields

The embedded form: what you get when another resource carries this one and you did not include it.

Leaves out: description, project_id, project, budget_id, budget, task_id, task, work_item_id, work_item, user_id, user, is_not_billable, is_overtime, exceeded_budget, reason, billable_change_reason, reviewed_by, invoice_id, sales_invoice_row_id, created_at, updated_at, links