You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openAPIServeurEPA/paths/demandeformation/demandesformation.yaml

50 lines
1.4 KiB

get:
tags:
- demandesFormation
operationId: getDemandesFormation
description: Récupérer la liste des demandes de formations
parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/idAgence.yaml
- $ref: ../../parameters/query/numPage.yaml
- $ref: ../../parameters/query/parPage.yaml
- $ref: ../../parameters/query/texte.yaml
- $ref: ../../parameters/query/theme.yaml
- $ref: ../../parameters/query/tri.yaml
responses:
'200':
$ref: ../../responses/demandeformation/getListeDemandesFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
post:
tags:
- demandesformation
operationId: creerDemandeFormation
description: Créer une demande de formation pour un collaborateur
requestBody:
$ref: ../../requestbodies/creationDemandeFormation.yaml
responses:
'201':
$ref: ../../responses/demandeformation/demandeFormationCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
put:
tags:
- demandesformation
operationId: UpdateDemandeFormation
description: Répondre a une demande de formation et la mettre à jour
requestBody:
$ref: ../../requestbodies/demandeFormation.yaml
responses:
'200':
$ref: ../../responses/demandeformation/reponseDemandeFormation.yaml
'201':
$ref: ../../responses/demandeformation/demandeFormationCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml