This method searches and returns request to registration employees by id
According to requirements:
Legal entity can see only employee_requests that were made by this legal entity.
Input parameters
- id
Validate request
- Verify the validity of access token
- in case error return 401
- Check user scopes in order to perform this action
- in case error return 403
Validate status
- In case status='NEW' skip validation. Use Get new employee request by ID.
Validate contexts
- Get legal_entity.id from '$.context'. Filter employee requests by legal_entity.id
- in case error return 404