Skip to main content
POST
Update
Latest stable version
tipee has two versions of the Activity module: 1.0 and 2.0.This API is compatible with version 2.0 only.To check which version is installed on your tipee instance, open the Activity module menu in the web interface: if it contains the “Project list” and “Reports” submenus, the version is 2.0.

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

type
enum<string>
required

Activity type. Determines validation rules for other fields.

Available options:
duration,
range
Example:

"duration"

task_id
string<snowflake>
Example:

"872815618512410358"

billable
boolean
date
string<local-date> | null
Example:

"2019-11-11"

duration
string<duration> | null

Can be provided only for duration activity type and must be ≤ 24h.

Example:

"PT1H30M20S"

remark
string | null
start
string<local-date-time>

Can be provided only for range.

Example:

"2019-11-11T12:34:56"

end
string<local-date-time> | null

Can be provided only for range activity type. Set to null to leave the activity open.

Example:

"2019-11-11T12:34:56"

Response

204

Activity updated.