|
|
|
get:
|
|
|
|
tags:
|
|
|
|
- demandesFormation
|
|
|
|
operationId: getDemandesFormation
|
|
|
|
description: Récupérer la liste des demandes de formation.
|
|
|
|
parameters:
|
|
|
|
- $ref: ../../parameters/query/etatsDemande.yaml
|
|
|
|
- $ref: ../../parameters/query/idBUs.yaml
|
|
|
|
- $ref: ../../parameters/query/asc.yaml
|
|
|
|
- $ref: ../../parameters/query/numPage.yaml
|
|
|
|
- $ref: ../../parameters/query/parPage.yaml
|
|
|
|
- $ref: ../../parameters/query/texte.yaml
|
|
|
|
- $ref: ../../parameters/query/tri.yaml
|
|
|
|
- $ref: ../../parameters/query/dateDebut.yaml
|
|
|
|
- $ref: ../../parameters/query/dateFin.yaml
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
$ref: ../../responses/demandeformation/getListeDemandesFormation.yaml
|
|
|
|
|
|
|
|
'401':
|
|
|
|
$ref: ../../responses/erreur/unauthorized.yaml
|
|
|
|
|
|
|
|
'403':
|
|
|
|
$ref: ../../responses/erreur/forbidden.yaml
|
|
|
|
|
|
|
|
'500':
|
|
|
|
$ref: ../../responses/erreur/internalServerError.yaml
|
|
|
|
|
|
|
|
post:
|
|
|
|
tags:
|
|
|
|
- demandesFormation
|
|
|
|
operationId: addDemandeFormation
|
|
|
|
description: Créer demande de formation pour un collaborateur.
|
|
|
|
requestBody:
|
|
|
|
$ref: ../../requestbodies/demandeFormation.yaml
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
$ref: ../../responses/demandeformation/addDemandeFormation.yaml
|
|
|
|
|
|
|
|
'401':
|
|
|
|
$ref: ../../responses/erreur/unauthorized.yaml
|
|
|
|
|
|
|
|
'403':
|
|
|
|
$ref: ../../responses/erreur/forbidden.yaml
|
|
|
|
|
|
|
|
'500':
|
|
|
|
$ref: ../../responses/erreur/internalServerError.yaml
|