v1

latestOpenAPI 3.0.02026-08-06151101754.7 KB
Timesheet activity types

Adds a timesheet activity type to a timesheet

post/timesheets/activities/types

Request body

type_idinteger

Timesheet activity type (activity activity)

timesheet_idinteger

Timesheet on which the activity (activity) should be recorded on

assignment_idinteger

Optional: The appointment id on which the timesheet activity should be booked on.

startstring date-time

Timesheet activity start date

endstring date-time nullable

Timesheet activity end date

adjust_blockingboolean

Sometimes activities before or after would block this new activity. Set this parameter to true, to shorten or delete the blocking activities.

start_latnumber float nullable

GPS latitude captured at activity start

start_lngnumber float nullable

GPS longitude captured at activity start

end_latnumber float nullable

GPS latitude captured at activity end

end_lngnumber float nullable

GPS longitude captured at activity end

namestring

Timesheet activity type name

custom_icon_idinteger

Optional a custom icon for this type. Get the id from '/icons' endpoints

group'WORKING' | 'BREAK' | 'NONE'

Use a fitting group for the correct calcuation in the time account / project times evaluation.

colorstring

Color for the timesheet activity type

defaultboolean

Is this the default type for group WORKING or BREAK? Can be only set to true if the type has one of these groups.

Response

The resource was successfully created.