Skip to main content
POST
Create a time entry for the caller.

Body

application/json
date
string<date>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
totalHours
number
required
Required range: 0 <= x <= 24
startTime
string | null
endTime
string | null
breakMinutes
number | null
Required range: x >= 0
type
enum<string> | null
Available options:
REGULAR,
OVERTIME,
COMPENSATION,
WEITERBILDUNG,
VORBEREITUNG
projectCode
string | null
description
string | null

Response

The newly created time entry.

success
enum<boolean>
required
Available options:
true
data
object
required