ЕСОЗ - публічна документація

Get printout content by Contract Request ID tests

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"printoutContent": null"printoutContent": null
GPC3Get printout content for Contract Request which doesn't exist
  • token
  • id
404404, not_found
{
"data": {
"contractRequest": null
}
}
{
"data": {
"contractRequest": null
}
}
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"printoutContent": null"printoutContent": null
GPC6Get printout content for NHS_SIGNED request by NHS
  • token
  • id
200
printoutContentprintoutContent
GPC7Get printout content for APPROVED request by MSP
  • token
  • id
200409, Incorrect status of contract_request to modify itprintoutContentprintoutContent
GPC8Get printout content for NHS_SIGNED request by MSP
  • token
  • id
200
printoutContentprintoutContent

ЕСОЗ - публічна документація