Create a leave by employee id.
POST
/v1/HR/leave/ByEmployeeId/{id_employee}
Requires the scope write:leave.
Autorisations
Bearer
JWT Authorization header using the Bearer scheme.
TypeHTTP (Bearer)
Paramètres
Paramètres de chemin
id_employee*
Typeinteger
RequisFormat
"int32"Corps de la requête
JSON
{
"type": "string",
"reason": "string",
"start_date": "string",
"start_period": "string",
"end_date": "string",
"end_period": "string",
"details": "string",
"comment": "string",
"manager_comment": "string"
}
Réponses
Id of the created leave.
application/json

