You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.2 KiB
50 lines
1.2 KiB
put:
|
|
tags:
|
|
- demandesEPI
|
|
operationId: updateDemandeEPI
|
|
description: Répondre à une demande d’EPI.
|
|
parameters:
|
|
- $ref: ../../parameters/path/idDemandeEPI.yaml
|
|
requestBody:
|
|
$ref: ../../requestbodies/demandeEPI.yaml
|
|
responses:
|
|
'200':
|
|
$ref: ../../responses/demandeepi/updateDemandeEPI.yaml
|
|
|
|
'401':
|
|
$ref: ../../responses/erreur/unauthorized.yaml
|
|
|
|
'403':
|
|
$ref: ../../responses/erreur/forbidden.yaml
|
|
|
|
'404':
|
|
$ref: ../../responses/erreur/notFound.yaml
|
|
|
|
'415':
|
|
$ref: ../../responses/erreur/unsupportedMediaType.yaml
|
|
|
|
'500':
|
|
$ref: ../../responses/erreur/internalServerError.yaml
|
|
delete:
|
|
tags:
|
|
- demandesEPI
|
|
operationId: deleteDemandeEPI
|
|
description: Annuler une demande d’EPI.
|
|
parameters:
|
|
- $ref: ../../parameters/path/idDemandeEPI.yaml
|
|
responses:
|
|
'204':
|
|
$ref: ../../responses/demandeepi/demandeEPIAnnulee.yaml
|
|
|
|
'401':
|
|
$ref: ../../responses/erreur/unauthorized.yaml
|
|
|
|
'403':
|
|
$ref: ../../responses/erreur/forbidden.yaml
|
|
|
|
'404':
|
|
$ref: ../../responses/erreur/notFound.yaml
|
|
|
|
'500':
|
|
$ref: ../../responses/erreur/internalServerError.yaml
|
|
|
|
|