ЕСОЗ - публічна документація
Get Сontract employees by contract_id tests
n/n | description | inputs | expected_result | actual_result |
---|---|---|---|---|
GCE1 | Get Contract employees without scope |
|
| 403, Your scope does not allow to access this resource. Missing allowances: contract:read |
GCE2 | Get Contract employees by contract which doesn't exist |
|
| 404, not found |
GCE3 | Get Contract employees by contract which doesn't belong to MSP |
|
| 403, You are not allowed to view this contract |
GCE4 | Get Contract employees by contract with nhs_access token |
|
| 200 |
GCE5 | Get contract employees by contract with status TERMINATED |
|
| 200 |
GCE6 | Get employees filtered by is_active=true |
|
| 200, return available employees |
GCE7 | Get employees filtered by is_active=false |
|
| 200, return not available employees |
GCE8 | Get employees filtered by employee_id |
|
| 200, return employees by employee_id |
GCE9 | Get employee filtered by division_id |
|
| 200, return employees by division_id |
ЕСОЗ - публічна документація