ЕСОЗ - публічна документація
Approve/Reject Employee Request
THE NEW VERSION IS HERE: Approve or Reject employee Request
Click activation link
User click activation link from email for approv/reject registration employee request.
Activation link redirects user on registration page or login page depending on search result .
Get employee_request details
In this case system checks the user in Auth system.
Invoke Get Employee request by ID WS. See service spesification.
- If user was found, - show login page
- If user wasn't found, - show registration page
Enter credentials
On login page user should enter password for authorization in customer area.
Enter password
On registration page user should enter password and confirmation password for new user registration.
Create user via EmployeeRequest
System should create user in oAuth by using Create User WS
See service specification
User authorization must occur automatically.
Authorize user
- Verify the validity of access token
- Check user scop in order to perform this action
- In case error - return 401 error
Get employee_request details
For displaying details on request FE should invoke Get Employee Request Details WS.
See service specification
Approve/Reject request data
FE showes page with employee registration request details.
User verifies data and approves or rejects request by clicking the appropriate button.
Approve/Reject employee request
Approve/Reject employee request process is described on related Page
ЕСОЗ - публічна документація