/
Terminate Contract Tests
ЕСОЗ - публічна документація
Terminate Contract Tests
n/n | Description | Inputs | expected result | actual result | expected result GraphQL | actual result GraphQL |
---|---|---|---|---|---|---|
DCR1 | Terminate Contract without scope |
| 403 | 403, Your scope does not allow to access this resource. Missing allowances: contract:terminate | 403 | "extensions": { "code": "FORBIDDEN", "exception": { "missingAllowances": [ "contract:terminate"]}}, "message": "Current client is not allowed to access this resource", |
DCR2 | Terminate Terminated Contract ( in status='TERMINATED') |
| 409 | 409, Not active contract can't be updated | 409 | "code": "CONFLICT" Not active contract can't be updated |
DCR3 | Terminate Contract with ID doesn't exist |
| 404 | 404, not_found | 404 | "code": "NOT_FOUND" Contract not found |
DCR4 | Terminate contract of another MSP (in case scope is allowed) |
| 403 | 403, Legal entity is not allowed to this action by client_id | 403 | 401 "message": "Invalid access token", "type": "access_denied" |
DCR5 | Terminate contract by NHS |
| 200, status = 'TERMINATED', event added to event_manager | 200, status = 'TERMINATED', | 200, status = 'TERMINATED', event added to event_manager | 200, status = 'TERMINATED', |
, multiple selections available,
Related content
Assign Contract Request test
Assign Contract Request test
More like this
Terminate declaration by person id
Terminate declaration by person id
More like this
Update Contract Request tests
Update Contract Request tests
More like this
Approve Contract Request by NHS tests
Approve Contract Request by NHS tests
More like this
Get Contract Request list tests
Get Contract Request list tests
More like this
Sign Contract Request by NHS tests
Sign Contract Request by NHS tests
More like this
ЕСОЗ - публічна документація