v1
Swagger 2.02026-07-13107162315.5 KBCreates a new timesheet entry. If Duration is null or 0, a timer will be started automatically. Requires ProjectIDFK and TimesheetCategoryIDFK.
Request body
UserID for a Timesheet user in Avaza
The project to associate the timesheet with.
The Project timesheet category to link the timesheet to
The duration of the timesheet, in decimal hours. If null or 0, a timer will be started.
Optional. False by default. Allows you to mark the timesheet as invoiced in an external system.
The date of the timesheet entry, with an optional start time component.
If true, the start time will be take from the time component of the Entry Date field, and the end time will be calculated by adding the Duration to the StartDate
Timesheet Notes
Optional. Link the timesheet to a specific task
Optional. free nvarchar field available via Api to store any additional metadata against a timesheet. We suggest you use Json or your preferred serialisation format. 1000 characters max.
If true, fires the timesheet_created webhook event to any subscribed endpoints. Defaults to false to preserve existing integration behaviour.
Response
Returns the created timesheet entry. If Duration was 0 or null, a timer is started.
Unique identifier for the timesheet entry.
The ID of the user who owns this timesheet entry.
First name of the timesheet user.
Last name of the timesheet user.
Email address of the timesheet user.
The project ID this timesheet entry is associated with.
Title of the associated project.
Project code of the associated project, if project codes are enabled.
The customer/company ID associated with the project.
Name of the customer/company associated with the project.
The timesheet category ID applied to this entry.
Name of the timesheet category applied to this entry.
Duration of the timesheet entry in decimal hours.
Approval status of the entry. Values: Draft, Pending, Approved, Rejected, AutoApproved.
Whether a timer is currently running on this entry.
The UTC date and time at which the timer was started, if a timer is running.
Whether this timesheet entry is billable to the client.
Whether this timesheet entry has been included on an invoice.
The date of the timesheet entry.
The local start time of the entry, if start/end time tracking is enabled.
The UTC start time of the entry, if start/end time tracking is enabled.
The local end time of the entry, if start/end time tracking is enabled.
The UTC end time of the entry, if start/end time tracking is enabled.
The IANA time zone ID of the user who owns the timesheet.
Free-text notes attached to this timesheet entry.
The task ID this timesheet entry is linked to, if any.
Title of the task this entry is linked to.
The invoice Transaction ID this entry was billed on, if invoiced.
The invoice line item ID this entry was billed on, if invoiced.
Date and time the record was created (UTC).
Date and time the record was last updated (UTC).
Date and time the entry was approved, if applicable.
Name or email of the user who approved this entry.
Optional free-form metadata field for storing additional information. Maximum 1000 characters.
Only visible to Admin role users
Only visible to Admin role users
URL to view this timesheet entry's day in the Avaza web application.