v1

latestOpenAPI 3.0.02026-08-06151101754.7 KB
Timesheet activities

Adds timesheet activity to a timesheet

post/timesheets/activities

Request body

type_idinteger required

Timesheet activity type

timesheet_idinteger required

Timesheet on which the activity should be recorded on, sending '0' will create a new timesheet for the logged in user.

assignment_idinteger

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

startstring date-time required

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

end_open_activitiesboolean

Close possible activities with end = null by the logged in user as well.

Response

The resource was successfully created.