...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
curl -X GET -H "'Content-Type: application/json"' 'Authorization:Bearer YW5WcFkyVnFkV2xqWldwMWFXTmxDZzpjY1hwWTR0cWRZbGVjNHAxYUdsMXVJ' 'http://ehealth.nebo15.com/users/employee_request/id' |
Authorize
- Verify the validity of access token
- Check user scop in order to perform this action
- In case error - return 401 error
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
curl -X GET -H "'Content-Type: application/json"' 'http:://ehealth.nebo15.com/employee_requests/b075f148-7f93-4fc2-b2ec-2d81b19a9b7b' |
- if request not found - return 404 error
- if request found - search user in oAuth
...