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

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
PC1Prolongate Contract without scope
  • token
  • id
  • json
403403, missing contract:update
PC2Prolongate Contract by MSP
  • invalid token 
403403, contract:update
PC3Prolongate Contract with ID doesn't exist
  • token
  • id doesn't exist
404404, not_found
PC4Prolongate Contract with status = TERMINATED
  • token with invalid status
  • id 
409,
Incorrect contract status to modify it

409,
Incorrect contract status to modify it

PC5Prolongate Contract with not merged contractor_legal_entity 
  • token
  • id
422422,
Contract for this legal entity must be resign with standard procedure
PC6Prolongate Contract with invalid end_date
  • token
  • id
  • end_date<now()
422422, 
End date should be greater then now
PC7Prolongate contract with closed legal entity
  • token
  • id
  • contractor_legal_entity.status='closed'
409200
PC8Prolongate Contract 
  • NHS token
  • id of valid contract_request
  • json

200, updated end_date


200, updated

  • No labels