Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Body

application/json
code
string
required
Maximum string length: 50
name
string
required
Maximum string length: 255
surname
string
required
Maximum string length: 255
working_hours
string
required
Pattern: ^\d{2}:\d{2}:\d{2}\.\d{3}$
vacation_days
number
required
Required range: x >= 0
employed_start
string<date-time>
required
email
string<email> | null
Maximum string length: 255
password
string | null
Minimum string length: 8
gender
enum<string>
Available options:
male,
female,
diverse,
not_specified
birthday
string<date-time> | null
employed_end
string<date-time> | null
unit_id
string<uuid> | null
department_id
string<uuid> | null
cost_center_id
string<uuid> | null
location_id
string<uuid> | null
position
string | null
Maximum string length: 255
active
boolean
role
string
uses_projects
boolean | null
reference_no
string | null
Maximum string length: 50
salary_type_work
string | null
Maximum string length: 100
salary_type_overtime
string | null
Maximum string length: 100
include_in_export
boolean
time_account_enabled
boolean
weekly_hours_limit
string | null
holiday_auto_compensation
boolean
private_email
string<email> | null
Maximum string length: 255
phone
string | null
Maximum string length: 32
emergency_contact_name
string | null
Maximum string length: 255
emergency_contact_relation
string | null
Maximum string length: 255
emergency_contact_phone
string | null
Maximum string length: 32

Response

EmployeeResource

data
EmployeeResource · object
required