master
Yanaël GRETTE 4 years ago
parent 33d8189d2f
commit 703725e665
  1. 8
      openapi.yaml
  2. 1
      parameters/path/idDemandeDelegation.yaml
  3. 1
      parameters/path/idDemandeEPI.yaml
  4. 1
      parameters/path/idDemandeFormation.yaml
  5. 1
      parameters/path/idEP.yaml
  6. 1
      parameters/path/idEngagement.yaml
  7. 1
      parameters/path/idEvaluation.yaml
  8. 3
      parameters/path/idFormation.yaml
  9. 1
      parameters/path/idNote.yaml
  10. 3
      parameters/path/idParticipationFormation.yaml
  11. 1
      parameters/query/idAgence.yaml
  12. 1
      parameters/query/idBu.yaml
  13. 16
      paths/collaborateur/collaborateurProfilByMail.yaml
  14. 6
      paths/demandedelegation/demandesDelegation.yaml
  15. 2
      paths/demandeepi/demandeEPIEnCours.yaml
  16. 10
      paths/demandeepi/demandesEPICollaborateur.yaml
  17. 11
      paths/demandeepi/demandesEPIReferent.yaml
  18. 6
      paths/note/notes.yaml
  19. 5
      paths/note/notesAuteur.yaml
  20. 5
      paths/note/notesParCollaborateur.yaml
  21. 16
      paths/referents/referentActuelByCollaborateur.yaml
  22. 2
      paths/referents/referentsByCollaborateur.yaml
  23. 3
      responses/_index.yaml
  24. 5
      responses/collaborateur/getProfil.yaml
  25. 3
      schemas/_index.yaml
  26. 3
      schemas/collaborateur/agence.yaml
  27. 3
      schemas/collaborateur/businessunit.yaml
  28. 24
      schemas/collaborateur/profil.yaml
  29. 4
      schemas/collaborateur/referent.yaml
  30. 1
      schemas/demandedelegation/creationDemandeDelegation.yaml
  31. 1
      schemas/demandedelegation/demandeDelegation.yaml
  32. 1
      schemas/demandeepi/demandeEPI.yaml
  33. 1
      schemas/demandeformation/creationDemandeFormation.yaml
  34. 1
      schemas/demandeformation/demandeFormation.yaml
  35. 3
      schemas/ep/augmentationsalaire.yaml
  36. 1
      schemas/ep/document.yaml
  37. 3
      schemas/ep/engagement.yaml
  38. 7
      schemas/ep/ep.yaml
  39. 7
      schemas/ep/epInformations.yaml
  40. 3
      schemas/ep/epSaisie.yaml
  41. 1
      schemas/ep/objectif.yaml
  42. 1
      schemas/ep/objectifPrecedent.yaml
  43. 1
      schemas/ep/participationEP.yaml
  44. 1
      schemas/ep/prochainEP.yaml
  45. 3
      schemas/ep/rdventretien.yaml
  46. 1
      schemas/formation/evaluation.yaml
  47. 8
      schemas/formation/formation.yaml
  48. 3
      schemas/formation/formationDetails.yaml
  49. 1
      schemas/formation/participationformation.yaml
  50. 1
      schemas/note/affichageNote.yaml
  51. 1
      schemas/note/detailsNote.yaml
  52. 3
      schemas/saisie/champ.yaml
  53. 1
      schemas/saisie/saisie.yaml

@ -1,6 +1,6 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
version: 1.3.2 version: 1.3.5
title: API du serveur de l'application de digitalisation des EP title: API du serveur de l'application de digitalisation des EP
description: description:
API qui sra utilisée afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire. API qui sra utilisée afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
@ -19,8 +19,6 @@ paths:
$ref: ./paths/collaborateur/collaborateurById.yaml $ref: ./paths/collaborateur/collaborateurById.yaml
/collaborateurs/mail/{mail}: /collaborateurs/mail/{mail}:
$ref: ./paths/collaborateur/collaborateurByMail.yaml $ref: ./paths/collaborateur/collaborateurByMail.yaml
/collaborateurs/profil/{mail}:
$ref: ./paths/collaborateur/collaborateurProfilByMail.yaml
/collaborateurs/referent/{idReferent}: /collaborateurs/referent/{idReferent}:
$ref: ./paths/collaborateur/collaborateursReferent.yaml $ref: ./paths/collaborateur/collaborateursReferent.yaml
@ -46,7 +44,9 @@ paths:
/referents/{idReferent}: /referents/{idReferent}:
$ref: ./paths/referents/referentById.yaml $ref: ./paths/referents/referentById.yaml
/referents/collaborateur/{idCollaborateur}: /referents/collaborateur/{idCollaborateur}:
$ref: ./paths/referents/referentByCollaborateur.yaml $ref: ./paths/referents/referentsByCollaborateur.yaml
/referents/actuel/collaborateur/{idCollaborateur}:
$ref: ./paths/referents/referentActuelByCollaborateur.yaml
#EP #EP
/ep: /ep:

@ -2,5 +2,6 @@ in: path
name: idDemandeDelegation name: idDemandeDelegation
schema: schema:
type: integer type: integer
format: int64
required: true required: true
description: id demande delegation description: id demande delegation

@ -2,5 +2,6 @@ in: path
name: idDemandeEPI name: idDemandeEPI
schema: schema:
type: integer type: integer
format: int64
required: true required: true
description: id demande EPI description: id demande EPI

@ -2,5 +2,6 @@ in: path
name: idDemandeFormation name: idDemandeFormation
schema: schema:
type: integer type: integer
format: int64
required: true required: true
description: id demande formation description: id demande formation

@ -2,5 +2,6 @@ in: path
name: idEP name: idEP
schema: schema:
type: integer type: integer
format: int64
required: true required: true
description: id EP description: id EP

@ -2,5 +2,6 @@ in: path
name: idEngagement name: idEngagement
schema: schema:
type: integer type: integer
format: int64
required: true required: true
description: id engagement description: id engagement

@ -2,5 +2,6 @@ in: path
name: idEvaluation name: idEvaluation
schema: schema:
type: integer type: integer
format: int64
required: true required: true
description: id evaluation description: id evaluation

@ -1,6 +1,7 @@
in: path in: path
name: idFormation name: idFormation
schema: schema:
type: number type: integer
format: int64
required: true required: true
description: id formation description: id formation

@ -2,5 +2,6 @@ in: path
name: idNote name: idNote
schema: schema:
type: integer type: integer
format: int64
required: true required: true
description: id note description: id note

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

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

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

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

@ -4,7 +4,13 @@ get:
operationId: getDemandesDelegation operationId: getDemandesDelegation
description: Récupération de la liste des demandes de délégation description: Récupération de la liste des demandes de délégation
parameters: parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/fonctions.yaml
- $ref: ../../parameters/path/idCollaborateur.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: responses:
'200': '200':
$ref: ../../responses/demandedelegation/getListeDemandesDelegation.yaml $ref: ../../responses/demandedelegation/getListeDemandesDelegation.yaml

@ -1,7 +1,7 @@
get: get:
tags: tags:
- demandesEPI - demandesEPI
operationId: getEPIEnCours operationId: getDemandeEPIEnCours
description: Récupération de l'EPI en cours d'un collaborateur description: Récupération de l'EPI en cours d'un collaborateur
parameters: parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml - $ref: ../../parameters/path/idCollaborateur.yaml

@ -1,10 +1,16 @@
get: get:
tags: tags:
- demandesEPI - demandesEPI
operationId: getEPICollaborateur operationId: getDemandeEPICollaborateur
description: Récupération de la liste des précédents EPI d'un collaborateur description: Récupération de la liste des demandes EPI d'un collaborateur
parameters: parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/fonctions.yaml
- $ref: ../../parameters/path/idCollaborateur.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: responses:
'200': '200':
$ref: ../../responses/demandeepi/getListeDemandesEPI.yaml $ref: ../../responses/demandeepi/getListeDemandesEPI.yaml

@ -1,10 +1,17 @@
get: get:
tags: tags:
- demandesEPI - demandesEPI
operationId: getEPIReferent operationId: getDemandeEPIReferent
description: Récupération de la liste des précédents EPI d'un referent description: Récupération de la liste des demandes EPI d'un referent
parameters: parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/query/fonctions.yaml
- $ref: ../../parameters/path/idReferent.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: responses:
'200': '200':
$ref: ../../responses/demandeepi/getListeDemandesEPI.yaml $ref: ../../responses/demandeepi/getListeDemandesEPI.yaml

@ -3,6 +3,12 @@ get:
- notes - notes
operationId: getNotes operationId: getNotes
description: Récupérer toutes les notes description: Récupérer toutes les notes
parameters:
- $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
responses: responses:
'200': '200':
$ref: ../../responses/note/getListeNotes.yaml $ref: ../../responses/note/getListeNotes.yaml

@ -4,7 +4,12 @@ get:
operationId: getNotesByAuteur operationId: getNotesByAuteur
description: Récupérer les notes d'une personne a écrite description: Récupérer les notes d'une personne a écrite
parameters: parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idReferent.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: responses:
'200': '200':
$ref: ../../responses/note/getListeNotes.yaml $ref: ../../responses/note/getListeNotes.yaml

@ -4,8 +4,13 @@ get:
operationId: getNotesByCollaborateur operationId: getNotesByCollaborateur
description: Récupérer une note par son id description: Récupérer une note par son id
parameters: parameters:
- $ref: ../../parameters/query/asc.yaml
- $ref: ../../parameters/path/idCollaborateur.yaml - $ref: ../../parameters/path/idCollaborateur.yaml
- $ref: ../../parameters/path/idReferent.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: responses:
'200': '200':
$ref: ../../responses/note/getListeNotes.yaml $ref: ../../responses/note/getListeNotes.yaml

@ -0,0 +1,16 @@
get:
tags:
- referents
operationId: getReferentActuelCollaborateur
description: Récupérer le référent d'un collaborateur
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/referent/getReferent.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notFound.yaml

@ -1,7 +1,7 @@
get: get:
tags: tags:
- referents - referents
operationId: getReferentByCollaborateur operationId: getReferentsByCollaborateur
description: Récupérer la liste des référents d'un collaborateur description: Récupérer la liste des référents d'un collaborateur
parameters: parameters:
- $ref: ../../parameters/query/asc.yaml - $ref: ../../parameters/query/asc.yaml

@ -13,9 +13,6 @@ GetCollaborateurResponse:
GetListecollaborateursResponse: GetListecollaborateursResponse:
$ref: ./collaborateur/getListeCollaborateurs.yaml $ref: ./collaborateur/getListeCollaborateurs.yaml
GetProfilResponse:
$ref: ./collaborateur/getProfil.yaml
#Note #Note
GetListeNoteResponse: GetListeNoteResponse:

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

@ -11,9 +11,6 @@ CollaborateurDTO:
ReferentDTO: ReferentDTO:
$ref: ./collaborateur/referent.yaml $ref: ./collaborateur/referent.yaml
ProfilDTO:
$ref: ./collaborateur/profil.yaml
#Note #Note
AffichageNoteDTO: AffichageNoteDTO:
$ref: ./note/affichageNote.yaml $ref: ./note/affichageNote.yaml

@ -2,7 +2,8 @@ type: object
description: Une agence de Apside description: Une agence de Apside
properties: properties:
id: id:
type: number type: integer
format: int64
nom: nom:
type: string type: string
bu: bu:

@ -2,7 +2,8 @@ type: object
description: Une business unit d'une agence description: Une business unit d'une agence
properties: properties:
id: id:
type: number type: integer
format: int64
nom: nom:
type: string type: string
agence: agence:

@ -1,24 +0,0 @@
type: object
description: Information utile à avoir lorsqu'un utilisateur se connecte
properties:
id:
type: string
format: uuid
nom:
type: string
prenom:
type: string
mailApside:
type: string
format: email
dateArrivee:
type: string
format: date-time
businessUnit:
$ref: ./businessUnit.yaml
required:
- id
- nom
- prenom
- mailApside
- businessunit

@ -13,10 +13,6 @@ properties:
format: email format: email
businessUnit: businessUnit:
$ref: ./businessUnit.yaml $ref: ./businessUnit.yaml
collaborateurs:
type: array
items:
$ref: ./collaborateur.yaml
required: required:
- id - id
- nom - nom

@ -3,6 +3,7 @@ description: Objet à envoyer lorsqu'un référent fait une demande de délégat
properties: properties:
idEp: idEp:
type: integer type: integer
format: int64
idReferent: idReferent:
$ref: ../collaborateur/collaborateur.yaml $ref: ../collaborateur/collaborateur.yaml
raisonDemande: raisonDemande:

@ -3,6 +3,7 @@ description: Les détails d'une demande de délégation d'un EP
properties: properties:
id: id:
type: integer type: integer
format: int64
ep: ep:
$ref: ../ep/epInformations.yaml $ref: ../ep/epInformations.yaml
dateDemande: dateDemande:

@ -3,6 +3,7 @@ description: Demande d'EPI faite par un collaborateur
properties: properties:
id: id:
type: integer type: integer
format: int64
idCollaborateur: idCollaborateur:
type: string type: string
format: uuid format: uuid

@ -3,6 +3,7 @@ description: Objet à envoyer lors d'une demande de formation
properties: properties:
id: id:
type: integer type: integer
format: int64
libelle: libelle:
type: string type: string
description: description:

@ -3,6 +3,7 @@ description: Les détails d'une demande de formation
properties: properties:
id: id:
type: integer type: integer
format: int64
libelle: libelle:
type: string type: string
description: description:

@ -3,10 +3,13 @@ description: Demande d'augmentation du salaire du collaborateur
properties: properties:
id: id:
type: integer type: integer
format: int64
augmentation: augmentation:
type: number type: number
format : float
primeMission: primeMission:
type: number type: number
format: float
message: message:
type: string type: string
required: required:

@ -3,6 +3,7 @@ description: Un document pour récupérer les saisies et leur champ en fonction
properties: properties:
id: id:
type: integer type: integer
format: int64
type: type:
type: string type: string
saisies: saisies:

@ -2,7 +2,8 @@ type: object
description: Les détails d'un engagement pris par un référent pour un EP description: Les détails d'un engagement pris par un référent pour un EP
properties: properties:
id: id:
type: number type: integer
format: int64
action: action:
type: string type: string
modalite: modalite:

@ -2,7 +2,8 @@ type: object
description: Tous les détails d'un EP lorsqu'il est consulté description: Tous les détails d'un EP lorsqu'il est consulté
properties: properties:
id: id:
type: number type: integer
format: int64
type: type:
type: string type: string
dateDisponibilite: dateDisponibilite:
@ -15,7 +16,7 @@ properties:
type: string type: string
format: date-time format: date-time
statut: statut:
type: number type: integer
cv: cv:
type: string type: string
propositionsEntretien: propositionsEntretien:
@ -43,7 +44,7 @@ properties:
collaborateur: collaborateur:
$ref: ../collaborateur/collaborateur.yaml $ref: ../collaborateur/collaborateur.yaml
referent: referent:
$ref: ../collaborateur/collaborateur.yaml $ref: ../collaborateur/referent.yaml
demandesFormation: demandesFormation:
type: array type: array
items: items:

@ -2,11 +2,12 @@ type: object
description: Les informations de base d'un EP description: Les informations de base d'un EP
properties: properties:
id: id:
type: number type: integer
format: int64
type: type:
type: integer type: integer
statut: statut:
type: number type: integer
dateDisponibilite: dateDisponibilite:
type: string type: string
format: date-time format: date-time
@ -18,7 +19,7 @@ properties:
collaborateur: collaborateur:
$ref: ../collaborateur/collaborateur.yaml $ref: ../collaborateur/collaborateur.yaml
referent: referent:
$ref: ../collaborateur/collaborateur.yaml $ref: ../collaborateur/referent.yaml
required: required:
- id - id

@ -2,7 +2,8 @@ type: object
description: Objet de l'EP au moment de la saisie du collaborateur description: Objet de l'EP au moment de la saisie du collaborateur
properties: properties:
id: id:
type: number type: integer
format: int64
type: type:
type: string type: string
datePrevisionnelle: datePrevisionnelle:

@ -3,6 +3,7 @@ description: Les objectifs pris par le collaborateur
properties: properties:
id: id:
type: integer type: integer
format: int64
libelle: libelle:
type: string type: string

@ -3,6 +3,7 @@ description: Les objectifs pris par le collaborateur durant le précédent EP
properties: properties:
id: id:
type: integer type: integer
format: int64
libelle: libelle:
type: string type: string
atteint: atteint:

@ -3,6 +3,7 @@ description: Information des participants d'un EP (autre que le référent et le
properties: properties:
id: id:
type: integer type: integer
format: int64
idCollaborateur: idCollaborateur:
type: string type: string
format: uuid format: uuid

@ -3,6 +3,7 @@ description: Objet contenant les détails du prochain EP non saisi du collaborat
properties: properties:
id: id:
type: integer type: integer
format: int64
type: type:
type: integer type: integer
dateDisponibilite: dateDisponibilite:

@ -2,7 +2,8 @@ type: object
description: RDV pour un entretien description: RDV pour un entretien
properties: properties:
id: id:
type: number type: integer
format: int64
dateEntretien: dateEntretien:
type: string type: string
format: date-time format: date-time

@ -3,6 +3,7 @@ description: Evaluation d'une participation formation
properties: properties:
idParticipation: idParticipation:
type: integer type: integer
format: int64
saisies: saisies:
type: array type: array
items: items:

@ -3,6 +3,7 @@ description: Toutes les informations d'une formation
properties: properties:
id: id:
type: integer type: integer
format: int64
intitule: intitule:
type: string type: string
origine: origine:
@ -11,6 +12,7 @@ properties:
$ref: ./statutFormation.yaml $ref: ./statutFormation.yaml
idAgence: idAgence:
type: integer type: integer
format: int64
dateDebut: dateDebut:
type: string type: string
format: date-time format: date-time
@ -18,9 +20,9 @@ properties:
type: string type: string
format: date-time format: date-time
heure: heure:
type: number type: integer
jour: jour:
type: number type: integer
organisme: organisme:
type: string type: string
mode: mode:
@ -32,7 +34,7 @@ properties:
participantsFormation: participantsFormation:
type: array type: array
items: items:
$ref: participationformation.yaml $ref: ./participationformation.yaml
required: required:

@ -3,6 +3,7 @@ description: Les détails d'une formation
properties: properties:
id: id:
type: integer type: integer
format: int64
intitule: intitule:
type: string type: string
statut: statut:
@ -15,6 +16,8 @@ properties:
format: date-time format: date-time
nbPartitipants: nbPartitipants:
type: integer type: integer
origine:
$ref: ./origineFormation.yaml
mode: mode:
$ref: ./modeFormation.yaml $ref: ./modeFormation.yaml
type: type:

@ -2,6 +2,7 @@ type: object
properties: properties:
id: id:
type: integer type: integer
format: int64
dateCreation: dateCreation:
type: string type: string
format: date-time format: date-time

@ -3,6 +3,7 @@ description: Note affiché dans un tableau
properties: properties:
id: id:
type: integer type: integer
format: int64
titre: titre:
type: string type: string
idCollaborateur: idCollaborateur:

@ -3,6 +3,7 @@ description: Détails d'une note que peut prendre un commercial, un delivery ou
properties: properties:
id: id:
type: integer type: integer
format: int64
titre: titre:
type: string type: string
texte: texte:

@ -3,6 +3,7 @@ description: Les champs d'un EP ou d'une évaluation à remplir
properties: properties:
id: id:
type: integer type: integer
format: int64
texte: texte:
type: string type: string
section: section:
@ -10,7 +11,7 @@ properties:
soussection: soussection:
type: string type: string
ordre: ordre:
type: number type: integer
typeChamp: typeChamp:
type: string type: string
typeSaisie: typeSaisie:

@ -3,6 +3,7 @@ description: Saisi d'un collaborateur ou d'un référent sur un champ
properties: properties:
id: id:
type: string type: string
format: int64
typeSaisie: typeSaisie:
type: integer type: integer
note: note:

Loading…
Cancel
Save