Options
All
  • Public
  • Public/Protected
  • All
Menu

Create a Time Entry from a duration

Hierarchy

  • TimeEntryCreateFromDuration

Index

Properties

Optional external_reference

external_reference: any

An object containing the id, group_id, and permalink of the external reference. Type: object

Optional hours

hours: number

The current amount of time tracked. If provided, is_running on the time entry will be true. Type: decimal

Optional notes

notes: string

Any notes to be associated with the time entry. Type: string

project_id

project_id: number

The ID of the project to associate with the time entry. Type: integer

spent_date

spent_date: string

The ISO 8601 formatted date the time entry was spent. Type: date

task_id

task_id: number

The ID of the task to associate with the time entry. Type: integer

Optional user_id

user_id: number

The ID of the user to associate with the time entry. Defaults to the currently authenticated user’s ID. Type: integer

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc