n/n | description | inputs | expected result | actual result | expected_result graphQL | actual_result graphQL |
---|---|---|---|---|---|---|
GCRL1 | Get list without scopes |
| 403 | 403 | { "extensions": { "code": "FORBIDDEN", "exception": { "missingAllowances": [ "contract_request:read" ]}}, "message": "Current client is not allowed to access this resource", "path": [ "contractRequests" ]} | { "extensions": { "code": "FORBIDDEN", "exception": { "missingAllowances": [ "contract_request:read" ]}}, "message": "Current client is not allowed to access this resource", "path": [ "contractRequests" ]} |
GCRL2 | Get list by NHS ADMIN SIGNER |
| return all requests | 200, return all requests | filtered data | filtered data |
GCRL3 | Get list by contractor owner |
| return requests within legal entity | 200, return requests within legal entity | "message": "Invalid access token", "type": "access_denied" | "message": "Invalid access token", "type": "access_denied" |
GCRL4 | Get list by status |
| return requests with input status | 200, return requests with input status | data filtered by status | data filtered by status |
GCRL5 | Get list by contractor_legal_entity_id |
| return requests with input contractor_legal_entity_id | 200, return requests with input contractor_legal_entity_id | ||
GCRL6 | Get list by contractor_owner_id |
| return requests with input contractor_owner_id | 200, return requests with input contractor_owner_id | ||
GCRL7 | Get list by contract_number |
| return requests with input contract_number | 200, return requests with input contractor_number | data filtered by status | data filtered by status |
GCRL8 | Get list by nhs_signer_id |
| return requests with input nhs_signer_id | 200, return requests with input nhs_signer_id | ||
GCRL9 | Get list by issue_city |
| return requests with input issue_city | 200, return requests with input issue_city | ||
GCRL10 | Get list by ContractRequestFilter
|
| Get list filtered by ContractRequestFilter
| Get list filtered by ContractRequestFilter
| ||
GCRL11 | Get list by ContractRequestOrderBy
|
| Get list ordered by ContractRequestOrderBy
| Get list ordered by ContractRequestOrderBy
|
...