Versions Compared

Key

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


n/ndescriptioninputsstep by step scriptexpected resultactual resultactual result FE
1Get Printout content by CR ID

contract request ID in statuses:

  • 'PENDING_NHS_SIGN',
  • Initialize Contract Request
  • Upload documents
  • Create contract request
  • Update contract request by NHS
  • Approve contract request by NHS
  • Get Printout content by CR ID

200

printout_content

error with some contract_requests, ex. contract_request.id=23b66fb7-64d3-4f4d-b5e5-bf18034e2741
2Get Printout content by CR ID with incorrect status

contract request ID in statuses

  • 'NEW',
  • 'APPROVED',
  • 'DECLINED',
  • 'TERMINATED',
  • 'NHS_SIGNED'
  • 'SIGNED'
-//-409 Error ('Incorrect status of contract_request to generate printout form')

409

"message": "Incorrect status of contract_request to modify it


3Get Printout content by CR ID by LE Get Printout content by CR ID  -//-

200

printout_content

200
4Get Printout content by CR 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"


5Get Printout content by CR ID w/o tokenGet Printout content by CR ID-//-

401

"message": "Authorization header is not set or doesn't contain Bearer token"


6Get Printout content by CR ID w/o scopes
-//-403

403

"message": "Your scope does not allow to access this resource. Missing allowances: contract_request:read",


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

404

"type": "not_found"


8Get Printout content by CR ID by not active user

Get Printout content by CR ID

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

401

"message": "Invalid access token"


9