Update employee
Path parameters
Request body
Example request
{
"nationality": "US",
"employment": {
"contractType": "PERMANENT"
},
"skills": [
"JavaScript"
]
}Response
Employee updated successfully
Example response
{
"id": 1234,
"nationality": "DE",
"department": "Marketing",
"departmentId": 1,
"officeCode": "de-berlin",
"keycardId": "KC-9876",
"account": "DE89 3704 0044 0532 0130 00",
"name": "Hans Schmidt",
"position": "Senior Developer",
"email": "hans.schmidt@itcorpo.com",
"skills": [
"JavaScript",
"TypeScript",
"React"
],
"bio": "Experienced developer with focus on frontend technologies",
"imgURL": "hans-schmidt-profile.jpg",
"employment": {
"contractType": "PERMANENT",
"currentSalary": 75000,
"startDate": "2020-01-15",
"endDate": "2025-01-14",
"employedFor": {
"years": 5,
"months": 0,
"days": 0
}
},
"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"
}
}
}Changes
Changed in 9 of the 28 revisions of this API.351435
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
added the required property
/to the response with the statusresponse-required-property-added
- ○
- ▲
added the new required request property
new-required-request-property
- ▲
added the new required request property
new-required-request-property
- ▲
added the new required request property
new-required-request-property
- ▲
the
response property's minItems was decreased from2to0for the response statusresponse-property-min-items-decreased
- ▲
the
response's property type changed fromarraytostringfor statusresponse-property-type-changed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
/request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ▲
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ▲
added the new required request property
new-required-request-property
- ●
removed the request property
request-property-removed
- ●
added the new
INenum value to theresponse property for the response statusresponse-property-enum-value-added
- ○
added the new
INenum value to the request propertyrequest-property-enum-value-added
- ▲
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
removed the pattern
^[+]?[(]?[0-9]{1,4}[)]?[-\s\./0-9]*$from the request property/request-property-pattern-removed
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
the
/response's property pattern^[+]?[(]?[0-9]{1,4}[)]?[-\s\./0-9]*$was removed for the statusresponse-property-pattern-removed
- ○
- ▲
added the new required request property
new-required-request-property
- ▲
added the new required request property
new-required-request-property
- ▲
added the new required request property
new-required-request-property
- ▲
added the new required request property
new-required-request-property
- ▲
added the new required request property
new-required-request-property
- ▲
added the new required request property
/new-required-request-property
- ▲
added the new required request property
new-required-request-property
- ▲
added the new required request property
new-required-request-property
- ▲
removed the enum value
INof the request propertyrequest-property-enum-value-removed
- ▲
added the pattern
^[+]?[(]?[0-9]{1,4}[)]?[-\s\./0-9]*$to the request property/request-property-pattern-added
- ▲
removed the media type
application/jsonfor the response with the statusresponse-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the statusresponse-media-type-removed
- ▲
the
response's property type changed fromstringtoarrayfor statusresponse-property-type-changed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the
INenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
the
/response's property pattern^[+]?[(]?[0-9]{1,4}[)]?[-\s\./0-9]*$was added for the statusresponse-property-pattern-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
/to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲