parent
1052997875
commit
4fb0089a18
@ -1,16 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: annulerDemandeEPI |
||||
description: Annuler la demande d'EPI |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeEPI.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/demandeEPIAnnulee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1,16 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: createEPI |
||||
description: Lancer la procedure pour un entretien professionnel intermediaire, une demande d'EPI validée est créé par la même occasion |
||||
parameters: |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
- $ref: ../../parameters/path/idReferent.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/epiCree.yaml |
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1,16 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: demandeEPIAssistante |
||||
description: Demande d'EPI et par l'assistant et création automatique de l'EPI |
||||
parameters: |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/epiCree.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1,16 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: demandeEPI |
||||
description: Demande d'EPI par un collaborateur |
||||
parameters: |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/demandeEPICreee.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1,16 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: getDemandeEPIEnCours |
||||
description: Récupération de l'EPI en cours d'un collaborateur |
||||
parameters: |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/getDemandeEPI.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -0,0 +1,22 @@ |
||||
post: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: addDemandeEpiAssistant |
||||
description: Effectuer la création d’une demande d’EPI par l'assistant. |
||||
requestBody: |
||||
$ref: ../../requestbodies/DemandeEpi.yaml |
||||
responses: |
||||
'201': |
||||
$ref: ../../responses/demandeepi/demandeEPICreee.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'415': |
||||
$ref: ../../responses/erreur/unsupportedMediaType.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
@ -0,0 +1,22 @@ |
||||
post: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: addDemandeEpiCollaborateur |
||||
description: Effectuer la création d’une demande d’EPI par le collaborateur. |
||||
requestBody: |
||||
$ref: ../../requestbodies/DemandeEpi.yaml |
||||
responses: |
||||
'201': |
||||
$ref: ../../responses/demandeepi/demandeEPICreee.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'415': |
||||
$ref: ../../responses/erreur/unsupportedMediaType.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
@ -0,0 +1,23 @@ |
||||
get: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: getDemandeEPICollaborateurCount |
||||
description: Récupérer le nombre total de demandes d’EPI d’un collaborateur. |
||||
parameters: |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
- $ref: ../../parameters/query/etatsDemande.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/getCountDemandeEPI.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 |
@ -0,0 +1,23 @@ |
||||
get: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: getDemandeEPIReferentCount |
||||
description: Récupérer le nombre total de demandes d’EPI qu’un référent a reçu. |
||||
parameters: |
||||
- $ref: ../../parameters/path/idReferent.yaml |
||||
- $ref: ../../parameters/query/etatsDemande.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/getCountDemandeEPI.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 |
@ -0,0 +1,22 @@ |
||||
post: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: addDemandeEpiReferent |
||||
description: Effectuer la création d’une demande d’EPI par le référent. |
||||
requestBody: |
||||
$ref: ../../requestbodies/DemandeEpi.yaml |
||||
responses: |
||||
'201': |
||||
$ref: ../../responses/demandeepi/demandeEPICreee.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'415': |
||||
$ref: ../../responses/erreur/unsupportedMediaType.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
@ -0,0 +1,50 @@ |
||||
put: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: updateDemandeEPI |
||||
description: Répondre à une demande d’EPI. |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeEPI.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/demandeEPI.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/updateDemandeEPI.yaml |
||||
|
||||
'401': |
||||
$ref: ../../responses/erreur/unauthorized.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
||||
|
||||
'415': |
||||
$ref: ../../responses/erreur/unsupportedMediaType.yaml |
||||
|
||||
'500': |
||||
$ref: ../../responses/erreur/internalServerError.yaml |
||||
delete: |
||||
tags: |
||||
- demandesEPI |
||||
operationId: deleteDemandeEPI |
||||
description: Annuler une demande d’EPI. |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeEPI.yaml |
||||
responses: |
||||
'204': |
||||
$ref: ../../responses/demandeepi/demandeEPIAnnulee.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: |
||||
- demandesEPI |
||||
operationId: repondreDemandeEPI |
||||
description: Répondre à une demande EPI en attente |
||||
parameters: |
||||
- $ref: ../../parameters/path/idDemandeEPI.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/demandeEPI.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/demandeepi/reponseDemandeEPI.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1 +1 @@ |
||||
description: demande d'EPI annulée |
||||
description: Demande annulée |
@ -1 +1,5 @@ |
||||
description: demande d'EPI effectuée |
||||
description: Demande d'EPI créée avec succès |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/demandeepi/demandeEPI.yaml |
@ -1 +0,0 @@ |
||||
description: Demande d'EPI créée avec l'EPI correspondant |
@ -0,0 +1,7 @@ |
||||
description: OK |
||||
content: |
||||
application/json: |
||||
schema: |
||||
type: integer |
||||
format: int64 |
||||
description: Nombre total de demandes d'EPI |
@ -1,5 +0,0 @@ |
||||
description: OK |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/demandeepi/demandeEPI.yaml |
@ -1 +0,0 @@ |
||||
description: Réponse à la demande d'EPI envoyée |
@ -0,0 +1,5 @@ |
||||
description: Demande mise à jour |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/demandeepi/demandeEPI.yaml |
Loading…
Reference in new issue