Versions Compared

Key

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


n/n
Description
Inputs
expected result
actual  result
DCR1Terminate Contract without scope
  • token
  • id
  • json
403403, Your scope does not allow to access this resource. Missing allowances: contract:terminate
DCR2Terminate Terminated Contract ( in status='
TERMIANTED
TERMINATED')
  • token 
  • id request in status=
TERMIANTED
  • TERMINATED
409409, Not active contract can't be updated
DCR3Terminate Contract with ID doesn't exist
  • token
  • id doesn't exist
404404, not_found
DCR4Terminate contract request of another MSP
  • token with other client_id
  • id 
403

403, Legal entity is not allowed to this action by client_id

DCR5Terminate contract by NHS
  • NHS token
  • id of new contract_request
  • json

200, status = 'TERMINATED',

event added to event_manager

200, status = 'TERMINATED',