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

Approve Contract Request by MSP tests

n/ndescriptioninputsexpected_resultactual_result
ACR_MSP1Approve Contract Request without scope
  • token
  • id
403403
ACR_MSP2Approve Contract Request in status<>APPROVED
  • token
  • id
409409, Incorrect status of contract_request to modify it
ACR_MSP3Approve Contract Request which doesn't exist
  • token
  • id
404404
ACR_MSP4Approve Contract Request with contractor_division<>'ACTIVE'
  • token
  • id
422422, Division is not active
ACR_MSP5Approve Contract Request with invalid start_date from past
  • token
  • id
422422, start date must be greater than current date
ACR_MSP6Approve Contract Request with dismissed employee 
  • token
  • id
422422, Employee must be active DOCTOR
ACR_MSP7Approve Contract Request which belongs to other MSP
  • token
  • id
403403, Client is not allowed to modify contract_request
ACR_MSP8Approve Updating Contract Request with start_date in the past
  • token
  • id
200, event added to event manager200
ACR_MSP9Approve valid Contract Request by MSP
  • token
  • id
200, event added to event manager200

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