Authorization: Bearer ********************{
"id": 1290,
"firstName": "John",
"middleName": "Michael",
"lastName": "Doe",
"birthDate": "01-01-2000",
"gender": {
"id": 3
},
"maritalStatus": {
"id": 1
},
"photo": null,
"sign": null,
"externalId": "external123",
"profile": "admin",
"documents": [
{
"number": "12345678911",
"extras": null,
"type": {
"id": 3,
"mask": {
"id": null
}
},
"id": 16
}
],
"contacts": {
"id": 21,
"phone1": "",
"phone2": "",
"celphone1": "",
"celphone2": "",
"email1": "",
"email2": "",
"site": null,
"publicPlace": "",
"number": "",
"street": "",
"neighborhood": "",
"zipCode": "",
"city": {
"id": 1
},
"socialNetworks": []
},
"occupations": {
"id": 66,
"description": "Examiner",
"level": null,
"area": null
},
"userCreated": {
"id": 1
},
"simpleRecord": false,
"userChanged": {
"id": 1
},
"userDeleted": {
"id": null
}
}curl --location --request PUT 'https://prod.your-api-server.com/api/v1/employee' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1290,
"firstName": "John",
"middleName": "Michael",
"lastName": "Doe",
"birthDate": "01-01-2000",
"gender": {
"id": 3
},
"maritalStatus": {
"id": 1
},
"photo": null,
"sign": null,
"externalId": "external123",
"profile": "admin",
"documents": [
{
"number": "12345678911",
"extras": null,
"type": {
"id": 3,
"mask": {
"id": null
}
},
"id": 16
}
],
"contacts": {
"id": 21,
"phone1": "",
"phone2": "",
"celphone1": "",
"celphone2": "",
"email1": "",
"email2": "",
"site": null,
"publicPlace": "",
"number": "",
"street": "",
"neighborhood": "",
"zipCode": "",
"city": {
"id": 1
},
"socialNetworks": []
},
"occupations": {
"id": 66,
"description": "Examiner",
"level": null,
"area": null
},
"userCreated": {
"id": 1
},
"simpleRecord": false,
"userChanged": {
"id": 1
},
"userDeleted": {
"id": null
}
}'{}