...
Link | ||||
Resource | /api/v3/declaration_requests/{{id}}/actions/reject | |||
Scope | declaration_request:reject | |||
Components | Declarations | |||
Using Dictionaries | API paragraph not found | Using Microservices | API paragraph not foundMicroservices | il/api ops/api |
Protocol type | REST | |||
Request type | PATCH | |||
Sync/Async | Sync | |||
Public/Private/Internal | Public |
...
Filter | Values | Type | Description | Example |
---|---|---|---|---|
id | String |
| 7f93-4fc2-b2ec-2d81b19a9b7b |
Request structure
API paragraph not found
Authorize
Verify the validity of access token
Return 401 in case validation fails
Check scopes in order to perform this action (scope = 'declaration_request:write')
Return 403 in case invalid scope(s)
...
Check that declaration request with such ID exists in the system (is_active = true)
In case of error - return 404
Check that declaration request belongs to the same legal entity as the user
In case of error - return 403
Processing
...
Response structure
Expand | ||
---|---|---|
| ||
|
...