Skip to content

Créer un congé par matricule de paie du collaborateur.

POST
/v1/HR/leave/ByPayrollNumber/{payroll_number}

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

payroll_number*
Typestring
Requis

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