Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


n/n
description
inputs
expected_result
actual_result
expected_result
GraphQL
actual_result
GraphQL
GPC1Get printout content without scope
  • token
  • id
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"]}]
GPC2Get printout content in status=NEW
  • token
  • id
409403, Incorrect status of contract_request to modify it

GPC3Get printout content for Contract Request which doesn't exist
  • token
  • id
404404, not_found

GPC4Get printout content for Contract Request which belongs to other MSP
  • token
  • id
403403, User is not allowed to perform this action

GPC5Get printout content for APPROVED request by NHS
  • token
  • id
200409, Incorrect status of contract_request to modify it

GPC6Get printout content for NHS_SIGNED request by NHS
  • token
  • id
200


GPC7Get printout content for APPROVED request by MSP
  • token
  • id
200409, Incorrect status of contract_request to modify it

GPC8Get printout content for NHS_SIGNED request by MSP
  • token
  • id
200