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

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 2 Next »

n/n
Description
Inputs
expected result
actual  result
1Update Assignee without scope
  • token
  • id
  • json
403
2Update Assignee with Contract Request status<>'NEW/IN_PROCESS'
  • token 
  • id request in status<>'NEW/IN_PROCESS'
422
3Update Assignee with non existing contract request 
  • token 
  • non existing id
404

4Update Assignee with not valid  contract request ID
  • token
  • not valid contract request ID
404
5Assign employee from another LE
  • token
  • id
  • incorrect employee_id
422, 'Invalid legal entity id'


6Assign dismissed employee
  • token
  • id
  • incorrect employee status

409, Invalid employee status


7Assign employee who doesn't have required role 
  • token
  • id
  • incorrect employee role
422, 'Employee doesn't have required role'
8Assign valid employee for valid request 
  • token
  • id
  • assignee_id

200, status = 'IN_PROCESS',

event added to event_manager


9Reassign another valid employee
  • token
  • id
  • assignee_id
 

200, status = 'IN_PROCESS',

event added to event_manager

 


  • No labels