Skip to content

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
Requis
Format"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

Playground

Serveur
Autorisation
Variables
Clé
Valeur
Corps

Exemples

cURL
JavaScript
PHP
Python