Create an employee.
POST
/v1/HR/employees
Requires the scope write:employee.
Autorisations
Bearer
JWT Authorization header using the Bearer scheme.
TypeHTTP (Bearer)
Corps de la requête
JSON
{
"id_entity": 0,
"salutation_code": "string",
"first_name": "string",
"last_name": "string",
"preferred_first_name": "string",
"preferred_last_name": "string",
"start_date": "string",
"end_date_trial_first_period": "string",
"end_date_trial_second_period": "string",
"department_code": "string",
"department_service": "string",
"job_title": "string",
"category_code": "string",
"contract_type_code": "string",
"activity_rate": 100,
"status_code": "string",
"status_position": "string",
"status_factor": "string",
"salary_base": 0,
"salary_variable": [
{
"type": "string",
"value": 0,
"criteria": "string",
"payment_date_code": 0
}
],
"salary_other": "string",
"skills": "string",
"missions": {
"mission1": "string",
"mission2": "string",
"mission3": "string",
"mission4": "string",
"mission5": "string",
"mission6": "string"
},
"address": "string",
"postal_code": "string",
"city": "string",
"country": "string",
"personal_email": "string",
"personal_mobile_phone": "string",
"personal_landline_phone": "string",
"business_email": "string",
"business_mobile_phone": "string",
"business_landline_phone": "string",
"birth_date": "string",
"birth_city": "string",
"birth_country": "string",
"nationality": "string",
"social_security_number": "string",
"resident_permit_number": "string",
"resident_permit_expiration_date": "string",
"id_manager": 0,
"affiliated_company": "string",
"is_salesperson": false,
"is_consultant": false,
"has_timesheets": false,
"timesheets_frequency_code": 0,
"emergency_contacts": "string",
"meal_vouchers_count": 0,
"has_portal_access": true,
"exclude_from_directory": false,
"has_overtime": false,
"use_vehicle": false,
"vehicle_type_code": "string",
"vehicle_tax_horsepower_code": "string",
"vehicle_registration_number": "string",
"vehicle_price_per_km": 0
}
Réponses
Id of the created employee.
application/json
JSON
{
"guid_employee": "string",
"id_employee": 0,
"is_standby": true
}

