CreateTimeEntryRequest
Request to create a time entry
Properties
| Name | Type | Description |
|---|---|---|
| userCode | string | The code of the team member who did the work. Defaults to the calling user when omitted. |
The code of the team member who did the work. Defaults to the calling user when omitted. | ||
| entryDate* | string | The day the work was done (format: yyyy-MM-dd) |
The day the work was done (format: yyyy-MM-dd) | ||
| durationMinutes | integer | How long the work took, in minutes |
How long the work took, in minutes | ||
| startTime | string | When the work started (UTC) — optional, set by timer-logged entries |
When the work started (UTC) — optional, set by timer-logged entries | ||
| endTime | string | When the work ended (UTC) — optional, set by timer-logged entries |
When the work ended (UTC) — optional, set by timer-logged entries | ||
| description | string | What the time was spent on |
What the time was spent on | ||
| clientCode | string | The code of the client the time relates to (optional unless the practice requires linking) |
The code of the client the time relates to (optional unless the practice requires linking) | ||
| taskItemCode | string | The code of the task the time relates to (optional unless the practice requires linking) |
The code of the task the time relates to (optional unless the practice requires linking) | ||
| workflowGroupNumber | integer | The group number of the workflow step the time relates to (optional; requires |
The group number of the workflow step the time relates to (optional; requires | ||
| workflowStepNumber | integer | The step number of the workflow step the time relates to (optional; requires |
The step number of the workflow step the time relates to (optional; requires | ||
| blocks | array of TimerBlockDto | The work blocks the entry was logged from, for timer-logged entries. When |
The work blocks the entry was logged from, for timer-logged entries. When | ||
| isBillable | boolean | Whether this time can be billed to the client |
Whether this time can be billed to the client | ||
| hourlyRate | number | Charge-out rate per hour. When omitted on a billable entry, defaults from the |
Charge-out rate per hour. When omitted on a billable entry, defaults from the | ||
JSON Example
{
"userCode": "string",
"entryDate": "2024-01-01",
"durationMinutes": 1,
"startTime": "2024-01-01T00:00:00Z",
"endTime": "2024-01-01T00:00:00Z"
}