Purpose
This service should be used for internal services/processes. Used without access_token
Specification
Logic
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
id | String | Request | d290f1ee-6c54-4b01-90e6-d701748f0851 |
Request structure
Example:
Authorize
Used without access_token
If client knows the employee_request_ID he can create user and approve it.
Headers
Наприклад:
Content-Type:application/json
Request data validation
API paragraph not found
Processing
Get Employee Request Details
Invoke WS Get Employee Request by ID for further employee creation
See service specification
Sample Request
curl -X GET -H 'Content-Type: application/json' 'http://ehealth.nebo15.com/employee_requests/d290f1ee-6c54-4b01-90e6-d701748f0851'
Search User
Search user in Auth using email from Employee_Request.
If found, goto Create user
else return Error 401
Create user in oAuth
System should create user in oAuth by using Create User WS
email should be used from the employee_request
password should be used from the payload
See service specification
Response structure
Example:
Post-processing processes
API paragraph not found