Skip to content

Créer un congé par identifiant de collaborateur.

POST
/v1/HR/leave/ByEmployeeId/{id_employee}

Nécessite le scope write:leave.

Autorisations

Bearer

En-tête d'autorisation JWT utilisant le schéma Bearer.

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 du congé créé.

application/json

Playground

Serveur
Autorisation
Variables
Clé
Valeur
Corps

Exemples

cURL
JavaScript
PHP
Python