master
Yanaël GRETTE 4 years ago
parent 851f3b99df
commit 1b290796cf
  1. 148
      openapi.yaml
  2. 61
      parameters/_index.yaml
  3. 2
      parameters/header/token.yaml
  4. 4
      parameters/path/idCollaborateur.yaml
  5. 6
      parameters/path/idDemandeDelegation.yaml
  6. 6
      parameters/path/idDemandeEPI.yaml
  7. 6
      parameters/path/idDemandeFormation.yaml
  8. 3
      parameters/path/idEP.yaml
  9. 6
      parameters/path/idEngagement.yaml
  10. 2
      parameters/path/idEvaluation.yaml
  11. 6
      parameters/path/idNote.yaml
  12. 6
      parameters/path/idParticipationFormation.yaml
  13. 4
      parameters/path/mail.yaml
  14. 4
      parameters/query/actionep.yaml
  15. 7
      parameters/query/asc.yaml
  16. 6
      parameters/query/assistants.yaml
  17. 6
      parameters/query/collaborateurs.yaml
  18. 5
      parameters/query/cptechlead.yaml
  19. 2
      parameters/query/fonctions.yaml
  20. 2
      parameters/query/idAgence.yaml
  21. 4
      parameters/query/idBu.yaml
  22. 6
      parameters/query/idReferent.yaml
  23. 7
      parameters/query/numPage.yaml
  24. 6
      parameters/query/parPage.yaml
  25. 6
      parameters/query/ra.yaml
  26. 6
      parameters/query/referents.yaml
  27. 6
      parameters/query/rh.yaml
  28. 6
      parameters/query/role.yaml
  29. 5
      parameters/query/statutEP.yaml
  30. 5
      parameters/query/statutFormation.yaml
  31. 5
      parameters/query/texte.yaml
  32. 5
      parameters/query/theme.yaml
  33. 5
      parameters/query/tri.yaml
  34. 16
      paths/collaborateur/collaborateurProfilByMail.yaml
  35. 8
      paths/collaborateur/collaborateurbyid.yaml
  36. 6
      paths/collaborateur/collaborateurbymail.yaml
  37. 17
      paths/collaborateur/collaborateurs.yaml
  38. 15
      paths/collaborateur/collaborateursreferent.yaml
  39. 16
      paths/demandedelegation/demandesDelegation.yaml
  40. 17
      paths/demandedelegation/faireDemandeDelegation.yaml
  41. 18
      paths/demandedelegation/repondreDemandeDelegation.yaml
  42. 16
      paths/demandeepi/annulerDemandeEPI.yaml
  43. 16
      paths/demandeepi/creationEPI.yaml
  44. 16
      paths/demandeepi/demandeAssistante.yaml
  45. 16
      paths/demandeepi/demandeEPI.yaml
  46. 16
      paths/demandeepi/demandeEPIEnCours.yaml
  47. 16
      paths/demandeepi/demandesEPICollaborateur.yaml
  48. 16
      paths/demandeepi/demandesEPIReferent.yaml
  49. 18
      paths/demandeepi/reponseEPI.yaml
  50. 20
      paths/demandeformation/demandesFormationAttente.yaml
  51. 20
      paths/demandeformation/demandesFormationRepondues.yaml
  52. 27
      paths/demandeformation/demandesformation.yaml
  53. 11
      paths/demandeformation/originesDemandesFormation.yaml
  54. 11
      paths/demandeformation/themes.yaml
  55. 14
      paths/engagement/engagementbyid.yaml
  56. 28
      paths/engagement/engagements.yaml
  57. 19
      paths/engagement/engagementsEnAttente.yaml
  58. 19
      paths/engagement/engagementsRepondus.yaml
  59. 13
      paths/ep/champs.yaml
  60. 14
      paths/ep/ep.yaml
  61. 19
      paths/ep/epEnCours.yaml
  62. 19
      paths/ep/epSignes.yaml
  63. 12
      paths/ep/epbycollaborateur.yaml
  64. 6
      paths/ep/epbyid.yaml
  65. 12
      paths/ep/epreferent.yaml
  66. 8
      paths/ep/prochainepcollaborateur.yaml
  67. 14
      paths/ep/prochainsep.yaml
  68. 11
      paths/ep/prochainsepreferent.yaml
  69. 4
      paths/ep/rappelsignature.yaml
  70. 16
      paths/ep/saisirProchainEP.yaml
  71. 13
      paths/ep/update.yaml
  72. 13
      paths/ep/updateEP.yaml
  73. 13
      paths/ep/updateSaisieEP.yaml
  74. 18
      paths/formation/evaluer.yaml
  75. 6
      paths/formation/formationbyid.yaml
  76. 19
      paths/formation/formations.yaml
  77. 21
      paths/formation/formationsAnnulees.yaml
  78. 21
      paths/formation/formationsRealisees.yaml
  79. 11
      paths/formation/modesFormation.yaml
  80. 11
      paths/formation/originesFormation.yaml
  81. 21
      paths/formation/participationByCollaborateur.yaml
  82. 21
      paths/formation/participationByFormation.yaml
  83. 12
      paths/formation/prochainesformations.yaml
  84. 11
      paths/formation/statutsFormation.yaml
  85. 11
      paths/formation/typesFormation.yaml
  86. 16
      paths/formation/voirEvaluation.yaml
  87. 29
      paths/note/note.yaml
  88. 33
      paths/note/noteById.yaml
  89. 16
      paths/note/notesAuteur.yaml
  90. 14
      paths/note/notesParCollaborateur.yaml
  91. 17
      paths/participationformation/participationbycollaborateur.yaml
  92. 11
      paths/referents/referentbycollaborateur.yaml
  93. 6
      paths/referents/referentbyid.yaml
  94. 14
      paths/referents/referents.yaml
  95. 13
      paths/saisie/champs.yaml
  96. 0
      paths/saisie/saisie.yaml
  97. 29
      requestbodies/_index.yaml
  98. 5
      requestbodies/creationDemandeFormation.yaml
  99. 5
      requestbodies/demandeDelegation.yaml
  100. 5
      requestbodies/demandeEPI.yaml
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 1.2.1
version: 1.3.0
title: API du serveur de l'application de digitalisation des EP
description:
API qui sra utilisée afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
@ -11,68 +11,150 @@ servers:
- url: http://localhost:3000/api
description: json-server pour les premiers tests
paths:
paths:
#Collaborateur
/collaborateurs:
$ref: ./paths/collaborateur/collaborateurs.yaml
/collaborateurs/{idCollaborateur}:
$ref: ./paths/collaborateur/collaborateurbyid.yaml
$ref: ./paths/collaborateur/collaborateurById.yaml
/collaborateurs/{mail}:
$ref: ./paths/collaborateur/collaborateurbymail.yaml
$ref: ./paths/collaborateur/collaborateurByMail.yaml
/collaborateurs/{mail}/profil:
$ref: ./paths/collaborateur/collaborateurProfilByMail.yaml
/collaborateurs/referent/{idReferent}:
$ref: ./paths/collaborateur/collaborateursreferent.yaml
$ref: ./paths/collaborateur/collaborateursReferent.yaml
#Note
/notes/:
$ref: ./paths/note/note.yaml
/notes/{idNote}:
$ref: ./paths/note/noteById.yaml
/notes/auteur/{idReferent}:
$ref: ./paths/note/notesAuteur.yaml
/notes/auteur/{idReferent}/collaborateur/{idCollaborateur}:
$ref: ./paths/note/notesParCollaborateur.yaml
#Referent
/referents:
$ref: ./paths/referents/referents.yaml
/referents/{idReferent}:
$ref: ./paths/referents/referentbyid.yaml
$ref: ./paths/referents/referentById.yaml
/referents/collaborateur/{idCollaborateur}:
$ref: ./paths/referents/referentbycollaborateur.yaml
$ref: ./paths/referents/referentByCollaborateur.yaml
#EP
/ep:
$ref: ./paths/ep/ep.yaml
/ep/{idEP}:
$ref: ./paths/ep/epbyid.yaml
$ref: ./paths/ep/epById.yaml
/ep/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epbycollaborateur.yaml
$ref: ./paths/ep/epByCollaborateur.yaml
/ep/collaborateur/{idCollaborateur}/prochain:
$ref: ./paths/ep/prochainepcollaborateur.yaml
$ref: ./paths/ep/prochainEPCollaborateur.yaml
/ep/collaborateur/{idCollaborateur}/prochain/saisir:
$ref: ./paths/ep/saisirProchainEP.yaml
/ep/referent/{idReferent}:
$ref: ./paths/ep/epreferent.yaml
$ref: ./paths/ep/epReferent.yaml
/ep/referent/{idReferent}/prochains:
$ref: ./paths/ep/prochainsepreferent.yaml
$ref: ./paths/ep/prochainsEPReferent.yaml
/ep/{idEP}/rappelSignature:
$ref: ./paths/ep/rappelsignature.yaml
$ref: ./paths/ep/rappelSignature.yaml
/ep/update:
$ref: ./paths/ep/update.yaml
/ep/prochains:
$ref: ./paths/ep/prochainsep.yaml
/ep/epi:
$ref: ./paths/ep/epi.yaml
$ref: ./paths/ep/updateEP.yaml
/ep/enCours:
$ref: ./paths/ep/epEnCours.yaml
/ep/signes:
$ref: ./paths/ep/epSignes.yaml
#DemandeEPI
/demandesepi/collaborateur/{idCollaborateur}:
$ref: ./paths/demandeepi/demandesEPICollaborateur.yaml
/demandesepi/collaborateur/{idCollaborateur}/enCours:
$ref: ./paths/demandeepi/demandeEPIEnCours.yaml
/demandesepi/collaborateur/{idCollaborateur}/demande:
$ref: ./paths/demandeepi/demandeEPI.yaml
/demandesepi/referent/{idReferent}:
$ref: ./paths/demandeepi/demandesEPIReferent.yaml
/demandesepi/referent/{idReferent}/demande/{idCollaborateur}:
$ref: ./paths/demandeepi/creationEPI.yaml
/demandesepi/{idDemandeEPI}/repondre:
$ref: ./paths/demandeepi/reponseEPI.yaml
/demandesepi/{idDemandeEPI}/annuler:
$ref: ./paths/demandeepi/annulerDemandeEPI.yaml
/demandesepi/demandeassistante/{idCollaborateur}:
$ref: ./paths/demandeepi/demandeAssistante.yaml
#DemandeDelegation
/demandesdelegation/{idCollaborateur}:
$ref: ./paths/demandedelegation/demandesDelegation.yaml
/demandesdelegation/ep/{idEP}/{idCollaborateur}:
$ref: ./paths/demandedelegation/faireDemandeDelegation.yaml
/demandesdelegation/{idDemandeDelegation}/repondre:
$ref: ./paths/demandedelegation/repondreDemandeDelegation.yaml
#Engagement
/engagements:
$ref: ./paths/engagement/engagements.yaml
/engagements/enattente:
$ref: ./paths/engagement/engagementsEnAttente.yaml
/engagements/repondus:
$ref: ./paths/engagement/engagementsRepondus.yaml
#DemandeFormation
/demandeformation:
$ref: ./paths/demandeformation/demandesFormation.yaml
/demandeformation/enattente:
$ref: ./paths/demandeformation/demandesFormationAttente.yaml
/demandeformation/repondus:
$ref: ./paths/demandeformation/demandesFormationRepondues.yaml
#OrigineDemandeFormation
/originesdemandesformation:
$ref: ./paths/demandeformation/originesDemandesFormation.yaml
#Theme
/themes:
$ref: ./paths/demandeformation/themes.yaml
#Formation
/formations:
$ref: ./paths/formation/formations.yaml
/formations/prochaines:
$ref: ./paths/formation/prochainesformations.yaml
/formations/{idFormation}:
$ref: ./paths/formation/formationbyid.yaml
$ref: ./paths/formation/formationById.yaml
/formations/prochaines:
$ref: ./paths/formation/prochainesFormations.yaml
/formations/realisees:
$ref: ./paths/formation/formationsRealisees.yaml
/formations/annulees:
$ref: ./paths/formation/formationsAnnulees.yaml
/participationsformation/collaborateur/{idCollaborateur}:
$ref: ./paths/participationformation/participationbycollaborateur.yaml
/demandeformation:
$ref: ./paths/demandeformation/demandesformation.yaml
#OrigineFormation
/originesFormation:
$ref: ./paths/formation/originesFormation.yaml
/engagements/:
$ref: ./paths/engagement/engagements.yaml
#StatutFormation
/statutsFormation:
$ref: ./paths/formation/statutsFormation.yaml
#ModeFormation
/modesFormation:
$ref: ./paths/formation/modesFormation.yaml
#TypeFormation
/typesFormation:
$ref: ./paths/formation/typesFormation.yaml
#ParticipationFormation
/participationsformation/collaborateur/{idCollaborateur}:
$ref: ./paths/formation/participationByCollaborateur.yaml
/participationsformation/formation/{idFormation}:
$ref: ./paths/formation/participationByFormation.yaml
#Evaluation
/evaluations/participationformation/{idParticipationFormation}:
$ref: ./paths/formation/voirEvaluation.yaml
/evaluations/participationformation/{idParticipationFormation}/evaluer:
$ref: ./paths/formation/evaluer.yaml
components:
schemas:

@ -7,6 +7,18 @@ token:
idCollaborateur:
$ref: ./path/idCollaborateur.yaml
idDemandeEDelegation:
$ref: ./path/idDemandeDelegation.yaml
idDemandeEPI:
$ref: ./path/idDemandeEPI.yaml
idDemandeFormation:
$ref: ./path/idDemandeFormation.yaml
idEngagement:
$ref: ./path/idEngagement.yaml
idEP:
$ref: ./path/idEP.yaml
@ -16,6 +28,12 @@ idEvaluation:
idFormation:
$ref: ./path/idFormation.yaml
idNote:
$ref: ./path/idNote.yaml
idParticipationFormation:
$ref: ./path/idParticipationFormation.yaml
idReferent:
$ref: ./path/idReferent.yaml
@ -27,17 +45,11 @@ type:
#QUERY
actionep:
$ref: ./query/actionep.yaml
assistants:
$ref: ./query/assistants.yaml
collaborateurs:
$ref: ./query/collaborateurs.yaml
actionEP:
$ref: ./query/actionEP.yaml
cptechlead:
$ref: ./query/cptechlead.yaml
asc:
$ref: ./query/asc.yaml
fonctions:
$ref: ./query/fonctions.yaml
@ -45,20 +57,29 @@ fonctions:
idAgence:
$ref: ./query/idAgence.yaml
idBu:
$ref: ./query/idBu.yaml
idBU:
$ref: ./query/idBU.yaml
idCollaborateurs:
$ref: ./query/idCollaborateurs.yaml
ra:
$ref: ./query/ra.yaml
numPage:
$ref: ./query/numPage.yaml
parPage:
$ref: ./query/parPage.yaml
statutEP:
$ref: ./query/statutEP.yaml
referents:
$ref: ./query/referents.yaml
statutFormation:
$ref: ./query/statutFormation.yaml
rh:
$ref: ./query/rh.yaml
texte:
$ref: ./query/texte.yaml
role:
$ref: ./query/role.yaml
theme:
$ref: ./query/theme.yaml
tri:
$ref: ./query/tri.yaml

@ -3,4 +3,4 @@ name: token
schema:
type: string
required: true
description: Token Keycloak que le serveur doit faire analyser
description: Token Keycloak envoyé au serveur. Le serveur devra analyser le token pour vérifier, si oui ou non, il est valide et si l'utilisateur a les droits d'accès à la ressource en question. Il peut aussi être utilisé pour faire une recherche par mail.

@ -3,5 +3,5 @@ name: idCollaborateur
schema:
type: string
format: uuid
description: id collaborateur
required: true
required: true
description: id collaborateur

@ -0,0 +1,6 @@
in: path
name: idDemandeDelegation
schema:
type: integer
required: true
description: id demande delegation

@ -0,0 +1,6 @@
in: path
name: idDemandeEPI
schema:
type: integer
required: true
description: id demande EPI

@ -0,0 +1,6 @@
in: path
name: idDemandeFormation
schema:
type: integer
required: true
description: id demande formation

@ -1,7 +1,6 @@
in: path
name: idEP
schema:
type: string
format: uuid
type: integer
required: true
description: id EP

@ -0,0 +1,6 @@
in: path
name: idEngagement
schema:
type: integer
required: true
description: id engagement

@ -1,6 +1,6 @@
in: path
name: idEvaluation
schema:
type: string
type: integer
required: true
description: id evaluation

@ -0,0 +1,6 @@
in: path
name: idNote
schema:
type: integer
required: true
description: id note

@ -0,0 +1,6 @@
in: path
name: idParticipationFormation
schema:
type: number
required: true
description: id participation formation

@ -2,5 +2,5 @@ in: path
name: mail
schema:
type: string
description: mail de l'utilisateur connecté (mail obetenu via Keycloak)
required: true
required: true
description: mail de l'utilisateur connecté (mail obtenu via le token Keycloak)

@ -1,6 +1,6 @@
in: query
name: actionep
schema:
type: string
type: integer
required: true
description: paramêtre pour indiquer l'action à faire au moment de la mise à jour de l'EP
description: L'action à effectuer au moment de la mise à jour de l'EP

@ -0,0 +1,7 @@
in: query
name: asc
schema:
type: boolean
default: true
description: Préciser si les données sont dans l'ordre (true) ou dans l'ordre inverse (false)
required: true

@ -1,6 +0,0 @@
in: query
name: assistants
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les assistants dans la requête

@ -1,6 +0,0 @@
in: query
name: collaborateurs
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les collaborateurs dans la requête

@ -1,5 +0,0 @@
in: query
name: cptechlead
schema:
type: boolean
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les CP et TeachLead dans la requête

@ -12,4 +12,4 @@ schema:
- referent
- techlead
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les assistants dans la requête
description: Liste des fonctions des collaborateurs que l'on veut récupérer

@ -1,5 +1,5 @@
in: query
name: idAgence
schema:
type: number
type: integer
description: id de l'agence à laquelle sont rattachées les données à récupérer

@ -1,5 +1,5 @@
in: query
name: idBu
name: idBU
schema:
type: number
type: integer
description: id de la business unit à laquelle sont rattachées les données à récupérer

@ -1,6 +0,0 @@
in: query
name: idReferent
schema:
type: string
format: uuid
description: id referent

@ -0,0 +1,7 @@
in: query
name: numPage
schema:
type: integer
default : 1
description: Numéro de la page du tableau qui affiche les données
required: true

@ -0,0 +1,6 @@
in: query
name: parPAge
schema:
type: integer
description: Nombre d'éléments affiché sur chaque page du tableau
required: true

@ -1,6 +0,0 @@
in: query
name: ra
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les responsables d'agence dans la requête

@ -1,6 +0,0 @@
in: query
name: referents
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les référents dans la requête

@ -1,6 +0,0 @@
in: query
name: rh
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les RH dans la requête

@ -1,6 +0,0 @@
in: query
name: role
schema:
type: string
required: true
description: role de l'utilisateur

@ -0,0 +1,5 @@
in: query
name: statutEP
schema:
type: integer
description: Statut de l'EP

@ -0,0 +1,5 @@
in: query
name: statutFormation
schema:
type: integer
description: Statut de la formation

@ -0,0 +1,5 @@
in: query
name: texte
schema:
type: string
description: Texte permettant d'identifier l'objet rechercher

@ -0,0 +1,5 @@
in: query
name: theme
schema:
type: integer
description: Thème des demandes de formation à récupérer

@ -0,0 +1,5 @@
in: query
name: tri
schema:
type: string
description: Colonne du tableau sur lequel le tri s'effectue

@ -0,0 +1,16 @@
get:
tags:
- collaborateurs
operationId: getProfilCollaborateurByMail
description: Récupérer un profil collaborateur par mail
parameters:
- $ref: ../../parameters/path/mail.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getProfil.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -2,15 +2,15 @@ get:
tags:
- collaborateurs
operationId: getCollaborateurById
description: recevoir un collaboratuer par son id
description: Récupérer un collaboratuer par son id
parameters:
- $ref: ../../parameters/path/idcollaborateur.yaml
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getcollaborateur.yaml
$ref: ../../responses/collaborateur/getCollaborateur.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -2,15 +2,15 @@ get:
tags:
- collaborateurs
operationId: getCollaborateurByMail
description: recevoir un collaborateur par son mail
description: Récupérer un collaborateur par son mail
parameters:
- $ref: ../../parameters/path/mail.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getcollaborateur.yaml
$ref: ../../responses/collaborateur/getCollaborateur.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -2,17 +2,20 @@ get:
tags:
- collaborateurs
operationId: getCollaborateurs
description: recevoir la liste des collaborateurs
description: Récupérer la liste des collaborateurs
parameters:
- $ref: ../../parameters/query/assistants.yaml
- $ref: ../../parameters/query/collaborateurs.yaml
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/fonctions.yaml
- $ref: ../../parameters/query/idAgence.yaml
- $ref: ../../parameters/query/referents.yaml
- $ref: ../../parameters/query/rh.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
responses:
'200':
$ref: ../../responses/collaborateur/getlistecollaborateurs.yaml
$ref: ../../responses/collaborateur/getListeCollaborateurs.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -2,15 +2,20 @@ get:
tags:
- collaborateurs
operationId: getCollaborateursByReferent
description: Recevoir la liste des collaborateurs de le référent à la charge
description: Récupérer la liste des collaborateurs dont le référent à la charge
parameters:
- $ref: ../../parameters/path/idreferent.yaml
- $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/collaborateur/getcollaborateur.yaml
'200':
$ref: ../../responses/collaborateur/getListeCollaborateurs.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,16 @@
get:
tags:
- demandesDelegation
operationId: getDemandesDelegation
description: Récupération de la liste des demandes de délégation
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/demandedelegation/getListeDemandesDelegation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,17 @@
get:
tags:
- demandesDelegation
operationId: faireDemandeDelegation
description: Faire une demande de délégation à une autre personne
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
- $ref: ../../parameters/path/idEP.yaml
responses:
'200':
$ref: ../../responses/demandedelegation/demandeDelegationCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,18 @@
put:
tags:
- demandesDelegation
operationId: repondreDemandeDelegation
description: Faire une demande de délégation à une autre personne
parameters:
- $ref: ../../parameters/path/idDemandeDelegation.yaml
requestBody:
$ref: ../../requestbodies/demandeDelegation.yaml
responses:
'200':
$ref: ../../responses/demandedelegation/reponseDemandeDelegation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,16 @@
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

@ -0,0 +1,16 @@
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

@ -0,0 +1,16 @@
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

@ -0,0 +1,16 @@
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

@ -0,0 +1,16 @@
get:
tags:
- demandesEPI
operationId: getEPIEnCours
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,16 @@
get:
tags:
- demandesEPI
operationId: getEPICollaborateur
description: Récupération de la liste des précédents EPI d'un collaborateur
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/demandeepi/getListeDemandesEPI.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,16 @@
get:
tags:
- demandesEPI
operationId: getEPIReferent
description: Récupération de la liste des précédents EPI d'un referent
parameters:
- $ref: ../../parameters/path/idReferent.yaml
responses:
'200':
$ref: ../../responses/demandeepi/getListeDemandesEPI.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,18 @@
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

@ -0,0 +1,20 @@
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

@ -0,0 +1,20 @@
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,14 +1,19 @@
get:
tags:
- demandesformation
- demandesFormation
operationId: getDemandesFormation
description: recevoir la liste des demandes de formations
description: Récupérer la liste des demandes de formations
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $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/formation/demandesFormation.yaml
$ref: ../../responses/demandeformation/getListeDemandesFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
@ -16,13 +21,13 @@ get:
post:
tags:
- demandesformation
operationId: CreerDemandeFormation
description: créer une demande de formation pour un collaborateur
operationId: creerDemandeFormation
description: Créer une demande de formation pour un collaborateur
requestBody:
$ref: ../../requestbodies/demandeFormation.yaml
$ref: ../../requestbodies/creationDemandeFormation.yaml
responses:
'201':
$ref: ../../responses/formation/creerDemandeFormation.yaml
$ref: ../../responses/demandeformation/demandeFormationCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
@ -31,15 +36,15 @@ put:
tags:
- demandesformation
operationId: UpdateDemandeFormation
description: repondre a une demande de formation et la mettre a jour
description: Répondre a une demande de formation et la mettre à jour
requestBody:
$ref: ../../requestbodies/demandeFormation.yaml
responses:
'200':
$ref: ../../responses/formation/reponseDemandeFormation.yaml
$ref: ../../responses/demandeformation/reponseDemandeFormation.yaml
'201':
$ref: ../../responses/formation/creerDemandeFormation.yaml
$ref: ../../responses/demandeformation/demandeFormationCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,11 @@
get:
tags:
- demandesFormation
operationId: getOriginesDemandesFormation
description: Récupérer la liste des origines des demandes de formation
responses:
'200':
$ref: ../../responses/demandeformation/getListeOriginesDemandesFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,11 @@
get:
tags:
- demandesFormation
operationId: getThemes
description: Récupérer la liste des thèmes des demandes de formation
responses:
'200':
$ref: ../../responses/demandeformation/getListeThemes.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -1,14 +0,0 @@
get:
tags:
- engagements
operationId: getEngagements
description: récupérer la liste des engagements
parameters:
- $ref: ../../parameters/path/idEngagement.yaml
responses:
'200':
$ref: ../../responses/engagement/engagement.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -2,14 +2,34 @@ get:
tags:
- engagements
operationId: getEngagements
description: récupérer la liste des engagements
description: Récupérer la liste des engagements
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $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/tri.yaml
responses:
'200':
$ref: ../../responses/engagement/engagements.yaml
$ref: ../../responses/engagement/getListeEngagements.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
$ref: ../../responses/erreur/forbidden.yaml
put:
tags:
- engagements
operationId: repondreEngagement
description: Donnez une réponse à un engagement
requestBody:
$ref: ../../requestbodies/engagement.yaml
responses:
'200':
$ref: ../../responses/engagement/reponseEngagement.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,19 @@
get:
tags:
- engagements
operationId: getEngagementsEnAttente
description: Récupérer la liste des engagements en attente
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/tri.yaml
responses:
'200':
$ref: ../../responses/engagement/getListeEngagements.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,19 @@
get:
tags:
- engagements
operationId: getEngagementsRepondus
description: Récupérer la liste des engagements ayant reçu une réponse
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/tri.yaml
responses:
'200':
$ref: ../../responses/engagement/getListeEngagements.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -1,13 +0,0 @@
get:
tags:
- ep
operationId: getChampsDocumentByEP
description: récupérer les documents en fonction du type de l'EP
parameters:
- $ref: ../../parameters/path/type.yaml
responses:
'200':
$ref: ../../responses/ep/getlistechamps.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -2,15 +2,19 @@ get:
tags:
- ep
operationId: getEP
description: recevoir la liste de tous les EP collaborateurs
description: Récupérer la liste de tous les EP collaborateurs
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/idAgence.yaml
#- $ref: ../../parameters/query/debut.yaml
#- $ref: ../../parameters/query/fin.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
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

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

@ -0,0 +1,19 @@
get:
tags:
- ep
operationId: getEPSignes
description: Récupérer la liste de tous les EP collaborateur signés
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/tri.yaml
responses:
'200':
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -2,15 +2,21 @@ get:
tags:
- ep
operationId: getEPByCollaborateur
description: recevoir la liste des EP collaborateur
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
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

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

@ -2,15 +2,21 @@ get:
tags:
- ep
operationId: getEPByReferent
description: recevoir la liste de tous les EP fait passer par le référent
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
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -1,16 +1,16 @@
get:
tags:
- ep
operationId: getProchainEPByCollaborateur
description: recevoir son prochain 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/getep.yaml
$ref: ../../responses/ep/getProchainEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -1,14 +0,0 @@
get:
tags:
- ep
operationId: getProchainsEP
description: recevoir la liste de tous les prochaines EP collaborateurs
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
responses:
'200':
$ref: ../../responses/ep/getlisteep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -2,15 +2,20 @@ get:
tags:
- ep
operationId: getProchainsEPByReferent
description: recevoir la liste de tous les prochaines EP que fera passer le référent
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
$ref: ../../responses/ep/getListeEP.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -2,7 +2,7 @@ get:
tags:
- ep
operationId: rappelSignature
description : faire un rappel de signature EP
description : Faire un rappel de signature EP
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
@ -13,4 +13,4 @@ get:
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,16 @@
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,13 +0,0 @@
put:
tags:
- ep
operationId: updateEP
description: update ep
requestBody:
$ref: ../../requestbodies/ep.yaml
responses:
'200':
$ref: ../../responses/ep/updateep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

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

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

@ -0,0 +1,18 @@
put:
tags:
- participationsFormations
operationId: evaluerFormation
description: Evaluer une formation
parameters:
- $ref: ../../parameters/path/idParticipationFormation.yaml
requestBody:
$ref: ../../requestbodies/evaluation.yaml
responses:
'200':
$ref: ../../responses/formation/formationEvaluee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -7,13 +7,13 @@ get:
- $ref: ../../parameters/path/idFormation.yaml
responses:
'200':
$ref: ../../responses/formation/getformation.yaml
$ref: ../../responses/formation/getFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml
delete:
@ -25,7 +25,7 @@ delete:
- $ref: ../../parameters/path/idFormation.yaml
responses:
'204':
$ref: ../../responses/formation/supprimerFormation.yaml
$ref: ../../responses/formation/formationSupprimee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -2,13 +2,18 @@ get:
tags:
- formations
operationId: getFormations
description: recevoir la liste des formations
description: Récupérer la liste des formations
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/idAgence.yaml
- $ref: ../../parameters/query/numPage.yaml
- $ref: ../../parameters/query/parPage.yaml
- $ref: ../../parameters/query/statutformation.yaml
- $ref: ../../parameters/query/texte.yaml
- $ref: ../../parameters/query/tri.yaml
responses:
'200':
$ref: ../../responses/formation/getlisteformations.yaml
$ref: ../../responses/formation/getListeFormations.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
@ -17,12 +22,12 @@ post:
tags:
- formations
operationId: ajouterFormation
description: ajouter une nouvelle formations
description: Ajouter une nouvelle formation
requestBody:
$ref: ../../requestbodies/formation.yaml
responses:
'201':
$ref: ../../responses/formation/creerFormation.yaml
$ref: ../../responses/formation/formationCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
@ -31,7 +36,7 @@ put:
tags:
- formations
operationId: updateFormation
description: update une formation
description: Mettre à jour une formation
requestBody:
$ref: ../../requestbodies/formation.yaml
responses:
@ -39,7 +44,7 @@ put:
$ref: ../../responses/formation/updateFormation.yaml
'201':
$ref: ../../responses/formation/creerFormation.yaml
$ref: ../../responses/formation/formationCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,21 @@
get:
tags:
- formations
operationId: getFormationAnnulees
description: Récupérer les formations annulées
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/tri.yaml
responses:
'200':
$ref: ../../responses/formation/getListeFormations.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,21 @@
get:
tags:
- formations
operationId: getFormationRealisee
description: Récupérer les formations réalisées
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/tri.yaml
responses:
'200':
$ref: ../../responses/formation/getListeFormations.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,11 @@
get:
tags:
- formations
operationId: getModesFormation
description: Récupérer les modes de formation
responses:
'200':
$ref: ../../responses/formation/getListeModesFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,11 @@
get:
tags:
- formations
operationId: getOriginesFormation
description: Récupérer les origines de formation
responses:
'200':
$ref: ../../responses/formation/getListeOriginesFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,21 @@
get:
tags:
- participationsFormations
operationId: getParticipationByCollaborateur
description: Récupérer la liste des formations auxquelles est inscrit le 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/texte.yaml
- $ref: ../../parameters/query/tri.yaml
responses:
'200':
$ref: ../../responses/formation/getListeParticipationsFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,21 @@
get:
tags:
- participationsFormations
operationId: getParticipationByFormation
description: Récupérer la liste des participants d'une formation
parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idFormation.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/formation/getListeParticipationsFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -2,16 +2,20 @@ get:
tags:
- formations
operationId: getProchainesFormation
description: Récupérer les formations plannifié et/ou replannifié
description: Récupérer les formations plannifié et replannifié
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $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/tri.yaml
responses:
'200':
$ref: ../../responses/formation/getlisteformations.yaml
$ref: ../../responses/formation/getListeFormations.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,11 @@
get:
tags:
- formations
operationId: getStatutsFormation
description: Récupérer les statuts de formation
responses:
'200':
$ref: ../../responses/formation/getListeStatutsFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,11 @@
get:
tags:
- formations
operationId: getTypesFormation
description: Récupérer les types de formation
responses:
'200':
$ref: ../../responses/formation/getListeTypesFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,16 @@
get:
tags:
- participationsFormations
operationId: consulterEvaluation
description: Consulter une évaluation d'une formation
parameters:
- $ref: ../../parameters/path/idParticipationFormation.yaml
responses:
'200':
$ref: ../../responses/formation/getEvaluation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,29 @@
post:
tags:
- notes
operationId: nouvelleNote
description: Ajouter une nouvelle note
requestBody:
$ref: ../../requestbodies/note.yaml
responses:
'201':
$ref: ../../responses/note/noteCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
put:
tags:
- notes
operationId: updateNote
description: Mettre à jour une note
requestBody:
$ref: ../../requestbodies/note.yaml
responses:
'200':
$ref: ../../responses/note/updateNote.yaml
'201':
$ref: ../../responses/note/noteCreee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,33 @@
get:
tags:
- notes
operationId: getNoteById
description: Récupérer une note par son id
parameters:
- $ref: ../../parameters/path/idNote.yaml
responses:
'200':
$ref: ../../responses/note/getNote.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml
delete:
tags:
- notes
operationId: deleteNote
description: Supprimer une note
parameters:
- $ref: ../../parameters/path/idNote.yaml
responses:
'204':
$ref: ../../responses/note/noteSupprimee.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -0,0 +1,16 @@
get:
tags:
- notes
operationId: getNotesByAuteur
description: Récupérer les notes d'une personne a écrite
parameters:
- $ref: ../../parameters/path/idReferent.yaml
responses:
'200':
$ref: ../../responses/note/getListeNotes.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,17 +1,17 @@
get:
tags:
- ep
operationId: createEPI
description: lancer la procedure entretien professionnel intermediaire
- notes
operationId: getNotesByCollaborateur
description: Récupérer une note par son id
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
- $ref: ../../parameters/path/idReferent.yaml
responses:
'200':
$ref: ../../responses/ep/creerepi.yaml
'200':
$ref: ../../responses/note/getListeNotes.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -1,17 +0,0 @@
get:
tags:
- participationsFormations
operationId: getParticipationByCollaborateur
description: récupérer la liste des formations auxquelles est inscrit le collaborateur
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/formation/participationsformation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -2,15 +2,20 @@ get:
tags:
- referents
operationId: getReferentByCollaborateur
description: renvoie la liste des collaborateurs referents
description: Récupérer la liste des référents 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/texte.yaml
- $ref: ../../parameters/query/tri.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getlistecollaborateurs.yaml
$ref: ../../responses/referent/getListeReferrents.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -2,15 +2,15 @@ get:
tags:
- referents
operationId: getReferentById
description: recevoir un referent par son id
description: Récupérer un referent par son id
parameters:
- $ref: ../../parameters/path/idReferent.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getcollaborateur.yaml
$ref: ../../responses/collaborateur/getCollaborateur.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
$ref: ../../responses/erreur/notFound.yaml

@ -2,15 +2,19 @@ get:
tags:
- referents
operationId: getReferents
description: recevoir la liste de tous les referents
description: Récupérer la liste de tous les referents
parameters:
- $ref: ../../parameters/query/cptechlead.yaml
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/fonctions.yaml
- $ref: ../../parameters/query/idAgence.yaml
- $ref: ../../parameters/query/referents.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
responses:
'200':
$ref: ../../responses/collaborateur/getlistereferrents.yaml
$ref: ../../responses/referent/getListeReferrents.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,13 @@
get:
tags:
- saisies
operationId: getChampsDocument
description: Récupérer les documents en fonction du type de l'EP ou de l'évaluation
parameters:
- $ref: ../../parameters/path/type.yaml
responses:
'200':
$ref: ../../responses/ep/getListeChamps.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -1,8 +1,29 @@
epBody:
CreationDemandeFormationBody:
$ref: ./creationDemandeFormation.yaml
DemandeDelegationBody:
$ref: ./demandeDelegation.yaml
DemandeEPIBody:
$ref: ./demandeEPI.yaml
DemandeFormationBody:
$ref: ./demandeFormation.yaml
EngagementBody:
$ref: ./engagement.yaml
EPBody:
$ref: ./ep.yaml
formationBody:
EvaluationBody:
$ref: ./evaluation.yaml
FormationBody:
$ref: ./formation.yaml
demandeFormationBody:
$ref: ./demandeFormation.yaml
NoteBody:
$ref: ./note.yaml
SaisieEPBody:
$ref: ./saisieEP.yaml

@ -0,0 +1,5 @@
required: true
content:
application/json:
schema:
$ref: ../schemas/demandeformation/creationDemandeFormation.yaml

@ -0,0 +1,5 @@
required: true
content:
application/json:
schema:
$ref: ../schemas/demandedelegation/creationDemandeDelegation.yaml

@ -0,0 +1,5 @@
required: true
content:
application/json:
schema:
$ref: ../schemas/demandeepi/demandeEPI.yaml

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save