parent
2a94e0056a
commit
375812f17f
@ -0,0 +1,24 @@ |
||||
put: |
||||
tags: |
||||
- referentsep |
||||
operationId: updateCollaborateursReferent |
||||
description: Mettre à jour le référent de plusieurs collaborateurs |
||||
parameters: |
||||
- $ref: ../../parameters/path/idReferent.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/referentEP.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/referentep/updateReferentEP.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 @@ |
||||
put: |
||||
tags: |
||||
- referentsep |
||||
operationId: updateReferentCollaborateur |
||||
description: Mettre à jour le référent d'un collaborateur |
||||
parameters: |
||||
- $ref: ../../parameters/path/idCollaborateur.yaml |
||||
requestBody: |
||||
$ref: ../../requestbodies/referentEP.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/referentep/updateReferentEP.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,16 +0,0 @@ |
||||
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,16 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- referents |
||||
operationId: getReferentById |
||||
description: Récupérer un referent par son id |
||||
parameters: |
||||
- $ref: ../../parameters/path/idReferent.yaml |
||||
responses: |
||||
'200': |
||||
$ref: ../../responses/referent/getReferent.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -1,20 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- referents |
||||
operationId: getReferents |
||||
description: Récupérer la liste de tous les referents |
||||
parameters: |
||||
- $ref: ../../parameters/query/asc.yaml |
||||
- $ref: ../../parameters/query/roles.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/referent/getListeReferrents.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
@ -1,21 +0,0 @@ |
||||
get: |
||||
tags: |
||||
- referents |
||||
operationId: getReferentsByCollaborateur |
||||
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/referent/getListeReferrents.yaml |
||||
|
||||
'403': |
||||
$ref: ../../responses/erreur/forbidden.yaml |
||||
|
||||
'404': |
||||
$ref: ../../responses/erreur/notFound.yaml |
@ -0,0 +1,5 @@ |
||||
required: true |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../schemas/collaborateur/referentEP.yaml |
@ -1,7 +0,0 @@ |
||||
description: OK |
||||
content: |
||||
application/json: |
||||
schema: |
||||
type: array |
||||
items: |
||||
$ref: ../../schemas/collaborateur/collaborateur.yaml |
@ -1,5 +0,0 @@ |
||||
description: OK |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/collaborateur/collaborateur.yaml |
@ -0,0 +1,5 @@ |
||||
description: OK |
||||
content: |
||||
application/json: |
||||
schema: |
||||
$ref: ../../schemas/collaborateur/referentEP.yaml |
@ -0,0 +1,14 @@ |
||||
type: object |
||||
description: DTO permettant de gérer les référents EP |
||||
properties: |
||||
idReferent: |
||||
type: string |
||||
format: uuid |
||||
description: Id du référent |
||||
idsCollaborateur: |
||||
type: array |
||||
items: |
||||
type: string |
||||
format: uuid |
||||
required: |
||||
- idReferent |
Loading…
Reference in new issue