MAJ des urls pour la partie EP en fonction des spécifications techniques

master
jboinembalome 4 years ago
parent 6d9a838eea
commit 0d656921d9
  1. 61
      openapi.yaml
  2. 2
      parameters/query/dateDebut.yaml
  3. 2
      parameters/query/dateFin.yaml
  4. 7
      parameters/query/epObligatoire.yaml
  5. 20
      paths/ep/ep.yaml
  6. 17
      paths/ep/epEnCours.yaml
  7. 26
      paths/ep/epEnCoursCount.yaml
  8. 22
      paths/ep/epEnCoursIdCollaborateur.yaml
  9. 31
      paths/ep/epEnCoursIdReferent.yaml
  10. 31
      paths/ep/epEnCoursIdReferentCount.yaml
  11. 22
      paths/ep/epIdCollaborateur.yaml
  12. 71
      paths/ep/epIdEp.yaml
  13. 24
      paths/ep/epIdEpRappelSignature.yaml
  14. 22
      paths/ep/epParticipationIdCollaborateur.yaml
  15. 22
      paths/ep/epParticipationIdCollaborateurCount.yaml
  16. 22
      paths/ep/epSaisieCollaborateur.yaml
  17. 28
      paths/ep/epSaisieIdEp.yaml
  18. 22
      paths/ep/epSaisieReferent.yaml
  19. 17
      paths/ep/epSignes.yaml
  20. 26
      paths/ep/epSignesCount.yaml
  21. 22
      paths/ep/epSignesIdCollaborateur.yaml
  22. 29
      paths/ep/epSignesIdReferent.yaml
  23. 29
      paths/ep/epSignesIdReferentCount.yaml
  24. 22
      paths/ep/epbycollaborateur.yaml
  25. 17
      paths/ep/epbyid.yaml
  26. 22
      paths/ep/epreferent.yaml
  27. 16
      paths/ep/prochainepcollaborateur.yaml
  28. 21
      paths/ep/prochainsepreferent.yaml
  29. 16
      paths/ep/rappelsignature.yaml
  30. 16
      paths/ep/saisirProchainEP.yaml
  31. 15
      paths/ep/updateEP.yaml
  32. 15
      paths/ep/updateSaisieEP.yaml
  33. 10
      paths/note/notesIdNote.yaml
  34. 2
      responses/_index.yaml
  35. 1
      responses/ep/deleteEp.yaml
  36. 1
      responses/ep/deleteEpCollaborateur.yaml
  37. 7
      responses/ep/getCountEp.yaml
  38. 5
      responses/ep/getEpInformation.yaml
  39. 0
      responses/ep/getListeEpInformation.yaml
  40. 2
      responses/ep/rappelSignature.yaml
  41. 5
      responses/ep/updateSaisieEp.yaml
  42. 6
      responses/ep/updateep.yaml

@ -19,24 +19,25 @@ paths:
$ref: ./paths/collaborateur/collaborateursCount.yaml
/collaborateurs/{idCollaborateur}:
$ref: ./paths/collaborateur/collaborateurById.yaml
/collaborateurs/{idCollaborateur}/ep/referents:
$ref: ./paths/collaborateur/referentsPrecedentEPCollaborateur.yaml
/collaborateurs/{mail}:
$ref: ./paths/collaborateur/collaborateurByMail.yaml
/collaborateurs/referent/{idReferent}:
$ref: ./paths/collaborateur/collaborateursReferent.yaml
/collaborateurs/referent/{idReferent}/count:
$ref: ./paths/collaborateur/collaborateursReferentCount.yaml
/collaborateurs/{idCollaborateur}/ep/referents:
$ref: ./paths/collaborateur/referentsPrecedentEPCollaborateur.yaml
#Note
/notes/:
$ref: ./paths/note/notes.yaml
/notes/{idNote}:
$ref: ./paths/note/notesIdNote.yaml
/notes/{idAuteur}:
$ref: ./paths/note/notesIdAuteur.yaml
/notes/{idAuteur}/count:
$ref: ./paths/note/notesIdAuteurCount.yaml
/notes/{idNote}:
$ref: ./paths/note/notesIdNote.yaml
#Referent
#/referents:
@ -49,30 +50,42 @@ paths:
#$ref: ./paths/referents/referentActuelByCollaborateur.yaml
#EP
/ep:
$ref: ./paths/ep/ep.yaml
/ep/{idCollaborateur}:
$ref: ./paths/ep/epIdCollaborateur.yaml
/ep/{idEP}:
$ref: ./paths/ep/epById.yaml
/ep/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epByCollaborateur.yaml
/ep/collaborateur/{idCollaborateur}/prochain:
$ref: ./paths/ep/prochainEPCollaborateur.yaml
/ep/collaborateur/{idCollaborateur}/prochain/saisir:
$ref: ./paths/ep/saisirProchainEP.yaml
/ep/referent/{idReferent}:
$ref: ./paths/ep/epReferent.yaml
/ep/referent/{idReferent}/prochains:
$ref: ./paths/ep/prochainsEPReferent.yaml
/ep/{idEP}/rappelSignature:
$ref: ./paths/ep/rappelSignature.yaml
/ep/{idEP}/updateep:
$ref: ./paths/ep/updateEP.yaml
/ep/{idEP}/updatesaisie:
$ref: ./paths/ep/updateSaisieEP.yaml
/ep/enCours:
$ref: ./paths/ep/epIdEp.yaml
/ep/{idEP}/rappelsignature:
$ref: ./paths/ep/epIdEpRappelSignature.yaml
/ep/encours:
$ref: ./paths/ep/epEnCours.yaml
/ep/encours/count:
$ref: ./paths/ep/epEnCoursCount.yaml
/ep/encours/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epEnCoursIdCollaborateur.yaml
/ep/encours/referent/{idReferent}:
$ref: ./paths/ep/epEnCoursIdReferent.yaml
/ep/encours/referent/{idReferent}/count:
$ref: ./paths/ep/epEnCoursIdReferentCount.yaml
/ep/signes:
$ref: ./paths/ep/epSignes.yaml
/ep/signes/count:
$ref: ./paths/ep/epSignesCount.yaml
/ep/signes/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epSignesIdCollaborateur.yaml
/ep/signes/referent/{idReferent}:
$ref: ./paths/ep/epSignesIdReferent.yaml
/ep/signes/referent/{idReferent}/count:
$ref: ./paths/ep/epSignesIdReferentCount.yaml
/ep/saisie/{idEP}:
$ref: ./paths/ep/epSaisieIdEp.yaml
/ep/saisie/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epSaisieCollaborateur.yaml
/ep/saisie/referent/{idEP}:
$ref: ./paths/ep/epSaisieReferent.yaml
/ep/participation/{idCollaborateur}:
$ref: ./paths/ep/epParticipationIdCollaborateur.yaml
/ep/participation/{idCollaborateur}/count:
$ref: ./paths/ep/epParticipationIdCollaborateurCount.yaml
#DemandeEPI
/demandesepi/collaborateur/{idCollaborateur}:

@ -4,5 +4,5 @@ schema:
type: string
format: date-time
default: null
description: Date à partir de laquelle les données sont récupérées, selon la date d'arrivée du collaborateur
description: Date permettant de filtrer par date de début
required: false

@ -4,5 +4,5 @@ schema:
type: string
format: date-time
default: null
description: Date jusqu'à laquelle les données sont récupérées, selon la date d'arrivée du collaborateur
description: Date permettant de filtrer par date de fin
required: false

@ -0,0 +1,7 @@
in: query
name: epObligatoire
schema:
type: boolean
default: false
description: Récupérer la liste des EP obligatoires
required: false

@ -1,20 +0,0 @@
get:
tags:
- ep
operationId: getEP
description: Récupérer la liste de tous les EP collaborateurs
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/statutep.yaml
- $ref: ../../parameters/query/texte.yaml
- $ref: ../../parameters/query/tri.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -2,18 +2,25 @@ get:
tags:
- ep
operationId: getEPEnCours
description: Récupérer la liste de tous les prochaines EP collaborateurs
description: Récupérer la liste des EP en cours.
parameters:
- $ref: ../../parameters/query/idBUs.yaml
- $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/tri.yaml
- $ref: ../../parameters/query/dateDebut.yaml
- $ref: ../../parameters/query/dateFin.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEP.yaml
$ref: ../../responses/ep/getListeEpInformation.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
$ref: ../../responses/erreur/forbidden.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

@ -0,0 +1,26 @@
get:
tags:
- ep
operationId: getEPEnCoursCount
description: Récupérer le nombre total d’EP en cours.
parameters:
- $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/ep/getCountEp.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

@ -0,0 +1,22 @@
get:
tags:
- ep
operationId: getProchainEPCollaborateur
description: Récupérer le prochain EP du collaborateur.
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/getEpInformation.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,31 @@
get:
tags:
- ep
operationId: getEPEnCoursReferent
description: Récupérer la liste des prochains EP d’un référent.
parameters:
- $ref: ../../parameters/path/idReferent.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/epObligatoire.yaml
- $ref: ../../parameters/query/dateDebut.yaml
- $ref: ../../parameters/query/dateFin.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEpInformation.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,31 @@
get:
tags:
- ep
operationId: getEPEnCoursReferentCount
description: Récupérer le nombre total de prochains EP d’un référent.
parameters:
- $ref: ../../parameters/path/idReferent.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/epObligatoire.yaml
- $ref: ../../parameters/query/dateDebut.yaml
- $ref: ../../parameters/query/dateFin.yaml
responses:
'200':
$ref: ../../responses/ep/getCountEp.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 @@
delete:
tags:
- ep
operationId: deleteEPCollaborateur
description: Supprimer les EP d’un collaborateur.
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'204':
$ref: ../../responses/ep/deleteEpCollaborateur.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,71 @@
get:
tags:
- ep
operationId: getEPById
description: Récupérer un EP par son id.
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'200':
$ref: ../../responses/ep/getEP.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
put:
tags:
- ep
operationId: updateEP
description: Mettre à jour les informations d’un EP.
parameters:
- $ref: ../../parameters/path/idEP.yaml
requestBody:
$ref: ../../requestbodies/ep.yaml
responses:
'200':
$ref: ../../responses/ep/updateEP.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:
- ep
operationId: deleteEP
description: Annuler/Supprimer un EP d’un collaborateur.
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'204':
$ref: ../../responses/ep/deleteEp.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,24 @@
get:
tags:
- ep
operationId: rappelSignature
description : Effectuer un rappel de signature.
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'200':
$ref: ../../responses/ep/rappelSignature.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 @@
get:
tags:
- ep
operationId: getEPEnCoursCollaborateurParticipant
description: Récupérer les informations des EP en cours auxquels le collaborateur est participant.
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEpInformation.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 @@
get:
tags:
- ep
operationId: getEPEnCoursCollaborateurParticipantCount
description: Récupérer le nombre total d’informations des EP en cours auxquels le collaborateur est participant.
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/getCountEp.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 @@
get:
tags:
- ep
operationId: getEPSaisieCollaborateur
description: Récupérer l’EP à saisir d’un collaborateur.
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/saisirProchainEP.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,28 @@
put:
tags:
- ep
operationId: updateEPSaisie
description: Sauvegarder une saisie EP.
parameters:
- $ref: ../../parameters/path/idEP.yaml
requestBody:
$ref: ../../requestbodies/saisieEP.yaml
responses:
'200':
$ref: ../../responses/ep/updateSaisieEp.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

@ -0,0 +1,22 @@
get:
tags:
- ep
operationId: getEPSaisieReferent
description: Récupérer l’EP à saisir d’un référent.
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'200':
$ref: ../../responses/ep/saisirProchainEP.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

@ -2,18 +2,25 @@ get:
tags:
- ep
operationId: getEPSignes
description: Récupérer la liste de tous les EP collaborateur signés
description: Récupérer la liste des EP signés.
parameters:
- $ref: ../../parameters/query/idBUs.yaml
- $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/tri.yaml
- $ref: ../../parameters/query/dateDebut.yaml
- $ref: ../../parameters/query/dateFin.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEP.yaml
$ref: ../../responses/ep/getListeEpInformation.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
$ref: ../../responses/erreur/forbidden.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

@ -0,0 +1,26 @@
get:
tags:
- ep
operationId: getEPSignesCount
description: Récupérer le nombre total d’EP signés.
parameters:
- $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/ep/getCountEp.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

@ -0,0 +1,22 @@
get:
tags:
- ep
operationId: getEPSignesCollaborateur
description: Récupérer la liste des EP signés d’un collaborateur.
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEpInformation.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,29 @@
get:
tags:
- ep
operationId: getEPSignesReferent
description: Récupérer la liste des EP signés qu’un référent à fait passer.
parameters:
- $ref: ../../parameters/path/idReferent.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/ep/getListeEpInformation.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,29 @@
get:
tags:
- ep
operationId: getEPSignesReferentCount
description: Récupérer le nombre total d’EP signés qu’un référent à fait passer.
parameters:
- $ref: ../../parameters/path/idReferent.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/ep/getCountEp.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,22 +0,0 @@
get:
tags:
- ep
operationId: getEPByCollaborateur
description: Récupérer la liste des EP d'un collaborateur
parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idCollaborateur.yaml
- $ref: ../../parameters/query/numPage.yaml
- $ref: ../../parameters/query/parPage.yaml
- $ref: ../../parameters/query/statutEP.yaml
- $ref: ../../parameters/query/texte.yaml
- $ref: ../../parameters/query/tri.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,17 +0,0 @@
get:
tags:
- ep
operationId: getEPById
description: Récupérer un EP par son id
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'200':
$ref: ../../responses/ep/getEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,22 +0,0 @@
get:
tags:
- ep
operationId: getEPByReferent
description: Récupérer la liste de tous les EP fait passer par le référent
parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idReferent.yaml
- $ref: ../../parameters/query/numPage.yaml
- $ref: ../../parameters/query/parPage.yaml
- $ref: ../../parameters/query/texte.yaml
- $ref: ../../parameters/query/tri.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,16 +0,0 @@
get:
tags:
- ep
operationId: getProchainEPCollaborateur
description: Récupérer les détails sur quand aura lieu le prochain EP du collaborateur
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/getProchainEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,21 +0,0 @@
get:
tags:
- ep
operationId: getProchainsEPByReferent
description: Récupérer la liste de tous les prochaines EP que fera passer le référent
parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idReferent.yaml
- $ref: ../../parameters/query/numPage.yaml
- $ref: ../../parameters/query/parPage.yaml
- $ref: ../../parameters/query/texte.yaml
- $ref: ../../parameters/query/tri.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,16 +0,0 @@
get:
tags:
- ep
operationId: rappelSignature
description : Faire un rappel de signature EP
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'201':
$ref: ../../responses/ep/rappelSignature.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,16 +0,0 @@
get:
tags:
- ep
operationId: saisieProchainEP
description: Récupérer le prochain EP du collaborateur dans le but de le saisir
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/saisirProchainEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,15 +0,0 @@
put:
tags:
- ep
operationId: updateEP
description: Mettre à jour l'EP déjà saisie
parameters:
- $ref: ../../parameters/path/idEP.yaml
requestBody:
$ref: ../../requestbodies/ep.yaml
responses:
'200':
$ref: ../../responses/ep/updateEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -1,15 +0,0 @@
put:
tags:
- ep
operationId: updateSaisieEP
description: Poursuivre le processus de l'EP ou bien seulement sauvegarder les modifications
parameters:
- $ref: ../../parameters/path/idEP.yaml
requestBody:
$ref: ../../requestbodies/saisieEP.yaml
responses:
'200':
$ref: ../../responses/ep/updateEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -51,15 +51,21 @@ delete:
tags:
- notes
operationId: deleteNote
description: Supprimer une note
description: Supprimer une note.
parameters:
- $ref: ../../parameters/path/idNote.yaml
responses:
'204':
$ref: ../../responses/note/noteSupprimee.yaml
'401':
$ref: ../../responses/erreur/unauthorized.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml
$ref: ../../responses/erreur/notFound.yaml
'500':
$ref: ../../responses/erreur/internalServerError.yaml

@ -42,7 +42,7 @@ GetEPResponse:
$ref: ./ep/getEP.yaml
GetListeEPResponse:
$ref: ./ep/getListeEP.yaml
$ref: ./ep/getListeEpInformation.yaml
GetListeParticipantsResponse:
$ref: ./ep/getListeParticipantsEP.yaml

@ -0,0 +1 @@
description: EP supprimé avec succès

@ -0,0 +1 @@
description: EP supprimés avec succès

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: integer
format: int64
description: Nombre total d’EP.

@ -0,0 +1,5 @@
description: OK
content:
application/json:
schema:
$ref: ../../schemas/ep/epInformations.yaml

@ -1 +1 @@
description: Notification de rappel envoyé
description: Ok

@ -0,0 +1,5 @@
description: EP sauvegardé avec succès
content:
application/json:
schema:
$ref: ../../schemas/ep/epSaisie.yaml

@ -1 +1,5 @@
description: EP mise à jour avec succès
description: Informations de l’EP modifiées avec succès
content:
application/json:
schema:
$ref: ../../schemas/ep/ep.yaml
Loading…
Cancel
Save