...
...
...
...
...
...
...
...
...
...
...
...
n/n | description | inputs | expected_result | actual_result |
---|---|---|---|---|
UCE1 | Update Contract employees without scope |
|
| 403, Your scope does not allow to access this resource. Missing allowances: contract:write |
UCE2 | Update Contract employees by contract which doesn't exist |
|
| 404, not found |
UCE3 | Update Contract employees by contract which doesn't belong to MSP |
|
| 403, You are not allowed to view this contract |
UCE4 | Update Contract employees by contract with nhs_access token |
|
| 403 |
UCE5 | Update contract employees by contract with status TERMINATED |
|
| 409, Not active contract can't be updated |
UCE6 | Update employees with division that doesn't belong to MSP |
|
...
- 200,
- respond contains data according to apiary
422 | 422, Division should be among contract_divisions | |
UCE7 | Update employees inactive doctor |
|
...
- 200,
- respond contains data according to apiary
422 | 422, Employee must be active DOCTOR | ||
UCE8 | Update employees with division that doesn't belong to contractor divisions |
| 422 |
...
422, Division should be among contract_divisions | ||||
UCE9 | Update employees and CLOSED division |
| 422 | 200 |
UCE10 | Update employees |
| 200 | 200 |