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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

n/n
Description
Inputs
expected result
actual  result
DCR1Decline Contract Request without scope
  • token
  • id
  • json
403403
DCR2Decline Contract Request by other role than `NHS ADMIN SIGNER`
  • token NHS_OWNER
  • id
  • json
403403
DCR3Decline Contract Reuqest in status<>'NEW'
  • token 
  • id request in status<>NEW
422422, Incorrect status of contract_request to modify it
DCR4Decline Contract Reuqest with ID doesn't exist
  • token
  • id doesn't exist
404404, 
DCR5Decline contract request with not fulfilled updated fields
  • token
  • id 
  • not updated request
200

200

DCR6Decline contract Request 

200, status = 'DECLINED',

event added to event_manager

200
DCR7Decline contract Request with not valid DRFO
  • token and drfo belongs to different employees
  • id
  • json
422422, Does not match the signer drfo
DCR8Decline contract Request with invalid contractor_legal_entity.drfo
  • token
  • id
  • json with invalid signed content
422400, Signed content doesn't match with contract request
  • No labels