Skip to main content
PUT
Update Time Record

Authorizations

X-Api-Key
string
header
required

Path Parameters

time_id
number
required

ID of Task Time

Example:

8006001

Body

application/json
time
integer
required

Time in seconds

Example:

3600

date
string

Date

Example:

"2018-01-20"

task
string

Task ID

Example:

"ev:3000010034"

user
number

User ID

Example:

1304

comment
string

Comment

Example:

"some notes"

Response

OK

id
number
required

Time record ID

Example:

2660155

time
number
required

Time recorded in seconds

Example:

3600

user
number
required

User ID

Example:

1304

date
string
required

Date

Example:

"2018-01-20"

task
object
isLocked
boolean
Example:

false

isInvoiced
boolean
Example:

false

comment
string
Example:

"some notes"

history
object[]
createdAt
string

Format: Y-m-d H:i:s

warning
object | null

Validation warning, if any.

lockReasons
string[]

Reasons the record is locked, if any.

website
object | null