Authorization: Bearer ********************
{
"firstName": "Arturo",
"lastName": "Navarro",
"gender": "F",
"code": "e87ke",
"identification": "56148",
"birthDate": "2023-09-08",
"personalAddress": "Poblado Alberto Quintana, 1",
"mobile": "951-747-080",
"phone": "941 762 086",
"entryDate": "2024-07-22T20:20:18.105Z",
"bloodType": "O",
"rhFactor": "-",
"alternatePhone": "959 198 223",
"extra1": "voluptas",
"extra2": "ea",
"extra3": "reprehenderit",
"extra4": "perferendis",
"isActive": true,
"typeIdentification": {
"name": "Licencia de Conducir"
},
"position": {
"name": "Supervisor"
},
"city": {
"name": "Elche"
}
}
curl --location --request POST 'https://api.indata.com.co/api/v1/employees' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstName": "Arturo",
"lastName": "Navarro",
"gender": "F",
"code": "e87ke",
"identification": "56148",
"birthDate": "2023-09-08",
"personalAddress": "Poblado Alberto Quintana, 1",
"mobile": "951-747-080",
"phone": "941 762 086",
"entryDate": "2024-07-22T20:20:18.105Z",
"bloodType": "O",
"rhFactor": "-",
"alternatePhone": "959 198 223",
"extra1": "voluptas",
"extra2": "ea",
"extra3": "reprehenderit",
"extra4": "perferendis",
"isActive": true,
"typeIdentification": {
"name": "Licencia de Conducir"
},
"position": {
"name": "Supervisor"
},
"city": {
"name": "Elche"
}
}'
{
"id": 0,
"firstName": "string",
"lastName": "string",
"gender": "M",
"code": "string",
"typeIdentification": {
"name": "string",
"id": 0,
"abbreviation": "string"
},
"identification": "string",
"birthDate": "2019-08-24",
"position": {
"name": "string",
"id": 0,
"code": "string"
},
"personalAddress": "string",
"mobile": "string",
"phone": "string",
"entryDate": "2024-01-01 08:00:00",
"bloodType": "A",
"rhFactor": "+",
"city": {
"name": "string",
"id": 0,
"code": "string"
},
"alternatePhone": "string",
"extra1": "string",
"extra2": "string",
"extra3": "string",
"extra4": "string",
"isActive": "true"
}