General Information
...
Service | API | Method |
---|---|---|
urac | /account/getUser | GET |
Data Model: Users
Workflow: %Link to Architecture Page% Get User Account Flow
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
username | Query | YES | String | N/A | The User Name |
...
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": { "..." } } |
Invalid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result":false, "errors":{ "codes":[405], "details":[ { "code":405, "message":"Unable to find User. Please try again." } ] } } |
Error Codes
Code | Description |
---|---|
405 | Unable to find User. Please try again. |
Example (CURL)
...
Request
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X GET http://127.0.0.1:4000/urac/account/getUser?username=john |
...