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

Get Printout content by contract ID tests

n/n
description
inputs
step by step script
expected result
actual result
actual result FE
1Get Printout content by Contract ID

contract  ID in status:

  • 'VERIDIED',
  • access_token
  • contract_id

200

printout_content

200

printout_content


2Get Printout content by CR ID by LE Get Printout content by Contract ID  -//-

200

printout_content

200

printout_content


3Get Printout content by Contract ID by LE  for another LEGet Printout content by CR ID LE in token <> LE in CR-//-403 "User is not allowed to perform this action"

403, User is not allowed to perform this action


4Get Printout content by Contract ID by not active user

Get Printout content by CR ID

  • inactive user LE
  • inactive user NHS
-//-403 - (user is not active)



5Get Printout content by Contract ID w/o scopes
-//-403

403, Your scope does not allow to access this resource. Missing allowances: contract:read


6Get Printout content by Contract ID w/o tokenGet Printout content by CR ID-//-

401, Authorization header is not set or doesn't contain Bearer token


7Get Printout content by Contract ID in Terminated status

contract ID in status

  • 'TERMIANTED',
-//-409 Error ('Incorrect status of contract_request to generate printout form')

501


8Get Printout content by incorrect Contract IDGet Printout content by incorrect Contract ID  -//-404 ("Contract request with id=$id doesn't exist")

404, not_found


9Get Printout content by Contract ID by blocked user
-//-401401, Invalid access token

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