Versions Compared

Key

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


n/nDescriptionInputsexpected resultactual  result
UCR1Update Contract Request without scope
  • token
  • id
  • json
403403
UCR2Update Contract Request by other role than `NHS ADMIN SIGNER`
  • token NHS_OWNER
  • id
  • json
403
200
403
200
UCR3Update Contract Reuqest in status<>'NEW'
  • token 
  • id request in status<>NEW
422422, Incorrect status of contract_request to modify it
UCR4Update Contract Reuqest with ID doesn't exist
  • token
  • id doesn't exist
404404
UCR5Update contract request with invalid price 
  • token
  • id 
  • nhs_contract_price<0
422

422, nhs_contract_price,

must be greater than 0

UCR6Update contract request with start_date start_date<today422422, Start date must be greater than create date
UCR7Update contract request using not valid nhs_payment_method
  • token
  • id
  • nhs_payment_method not from DICTIONARY
422200
UCR8Update contract request without issue city
  • token
  • id
  • issue city absent 
200200
UCR9Update contract request 
  • token
  • id
  • json
200

msp_data- "external_contractor_flag": false

"nhs_signer": null,

"nhs_legal_entity": null

UCR9Update updated contract request 
  • token
  • id
  • json
200200