...
...
...
...
...
...
...
...
...
...
...
- HR access_token
- contract_id
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 |