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

45 lines
1.2 KiB

get:
tags:
- demandesformation
operationId: getDemandesFormation
description: recevoir la liste des demandes de formations
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
responses:
'200':
$ref: ../../responses/formation/demandesFormation.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/demandeFormation.yaml
responses:
'201':
$ref: ../../responses/formation/creerDemandeFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
put:
tags:
- demandesformation
operationId: UpdateDemandeFormation
description: repondre a une demande de formation et la mettre a jour
requestBody:
$ref: ../../requestbodies/demandeFormation.yaml
responses:
'200':
$ref: ../../responses/formation/reponseDemandeFormation.yaml
'201':
$ref: ../../responses/formation/creerDemandeFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml