ANAPI-22: Cancel Reports (#32)

* Create cancel report api handle

* Add comment about cancel restrictions

* Reword description to comply with capi
This commit is contained in:
Toporkov Igor 2020-08-03 14:17:21 +03:00 committed by GitHub
parent 72212b49a8
commit d148d025c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
post:
description: Отменить указанный отчет. Отчеты типа `provisionOfService` отменить нельзя
tags:
- Reports
operationId: cancelReport
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/reportID'
responses:
'202':
description: Запрос на отмену отчета принят
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
$ref: '#/responses/DefaultLogicError'