ЕСОЗ - публічна документація
Get printout content by Contract Request ID tests
n/n | description | inputs | expected_result | actual_result | expected_result GraphQL | actual_result GraphQL |
---|---|---|---|---|---|---|
GPC1 | Get printout content without scope |
| 403 | "errors": [ {"extensions": { "code": "FORBIDDEN", "exception": { "missingAllowances": [ "contract_request:read"]} }, "message": "Current client is not allowed to access this resource", "path": [ "contractRequest"]}] | "errors": [ {"extensions": { "code": "FORBIDDEN", "exception": { "missingAllowances": [ "contract_request:read"]} }, "message": "Current client is not allowed to access this resource", "path": [ "contractRequest"]}] | |
GPC2 | Get printout content in status=NEW |
| 409 | 403, Incorrect status of contract_request to modify it | "printoutContent": null | "printoutContent": null |
GPC3 | Get printout content for Contract Request which doesn't exist |
| 404 | 404, not_found | { "data": { "contractRequest": null } } | { "data": { "contractRequest": null } } |
GPC4 | Get printout content for Contract Request which belongs to other MSP |
| 403 | 403, User is not allowed to perform this action | ||
GPC5 | Get printout content for APPROVED request by NHS |
| 200 | 409, Incorrect status of contract_request to modify it | "printoutContent": null | "printoutContent": null |
GPC6 | Get printout content for NHS_SIGNED request by NHS |
| 200 | printoutContent | printoutContent | |
GPC7 | Get printout content for APPROVED request by MSP |
| 200 | 409, Incorrect status of contract_request to modify it | printoutContent | printoutContent |
GPC8 | Get printout content for NHS_SIGNED request by MSP |
| 200 | printoutContent | printoutContent |
ЕСОЗ - публічна документація