Employees
Create a new employee
post/employees
Request body
Example request
{
"nationality": "US",
"contractType": "PERMANENT",
"skills": [
"JavaScript"
]
}Response
Employee created successfully
Example response
{
"id": 1234,
"nationality": "DE",
"department": "Marketing",
"keycardId": "KC-9876",
"account": "DE89 3704 0044 0532 0130 00",
"salary": 75000,
"office": [
"Berlin",
"HQ"
],
"firstName": "Hans",
"lastName": "Schmidt",
"title": "Senior Developer",
"contractType": "PERMANENT",
"email": "hans.schmidt@itcorpo.com",
"hiredAt": "2020-01-15T00:00:00.000Z",
"expiresAt": "2025-01-14T23:59:59.999Z",
"personalInfo": {
"age": 35,
"phone": "+49 123 456789",
"email": "hans.schmidt@gmail.com",
"dateOfBirth": "1988-05-20T00:00:00.000Z",
"address": {
"street": "Alexanderplatz 1",
"city": "Berlin",
"country": "Germany"
}
},
"skills": [
"JavaScript",
"TypeScript",
"React"
],
"bio": "Experienced developer with focus on frontend technologies",
"imgURL": "hans-schmidt-profile.jpg"
}