Create a leave by employee payroll number.
POST
/v1/HR/leave/ByPayrollNumber/{payroll_number}
Requires the scope write:leave.
Autorisations
Bearer
JWT Authorization header using the Bearer scheme.
TypeHTTP (Bearer)
Paramètres
Paramètres de chemin
payroll_number*
Typestring
RequisCorps 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

