parent
2920133ca8
commit
cef648874f
@ -0,0 +1,48 @@ |
||||
put: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: RepondreDemandeFormation |
||||
description: Répondre a une demande de formation et la mettre à jour |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeFormation.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/demandeFormation.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeformation/reponseDemandeFormation.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
||||
|
||||
delete: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: SupprimerDemandeFormation |
||||
description: Supprimer une demande de formation |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeFormation.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeformation/demandeFormationSupprimee.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
||||
|
@ -1,18 +0,0 @@ |
||||
put: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: RepondreDemandeFormation |
||||
description: Répondre a une demande de formation et la mettre à jour |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeFormation.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/demandeFormation.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeformation/reponseDemandeFormation.yaml |
||||
|
||||
'201': |
||||
$ref: ../../responses/demandeformation/demandeFormationCreee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -1,20 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: getDemandesFormationEnAttente |
||||
description: Récupérer la liste des demandes de formations en attente d'une réponse |
||||
parameters: |
||||
- $ref: ../../parameters/query/asc.yaml |
||||
- $ref: ../../parameters/query/idAgence.yaml |
||||
#- $ref: ../../parameters/query/idBU.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 |
@ -1,20 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesFormation |
||||
operationId: getDemandesFormationRepondues |
||||
description: Récupérer la liste des demandes de formations ayant reçu une réponse |
||||
parameters: |
||||
- $ref: ../../parameters/query/asc.yaml |
||||
- $ref: ../../parameters/query/idAgence.yaml |
||||
#- $ref: ../../parameters/query/idBU.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 |
@ -1 +1,5 @@ |
||||
description: Demande formation créée |
||||
description: Demande formation créée |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/demandeformation/demandeFormation.yaml |
@ -0,0 +1 @@ |
||||
description: Demande de formation supprimée avec succès |
@ -1 +1,5 @@ |
||||
description: demande formation mise à jour |
||||
description: demande formation mise à jour |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/demandeformation/demandeFormation.yaml |
Loading…
Reference in new issue