getUserByUsername
GET {{baseUrl}}/user/username/
Get user by username.
Parameters
| Name | Description |
|---|---|
| username *string(path) | The name that needs to be fetched. Use user1 for testing. |
Response
| Code | Description |
|---|---|
| 200 | Successful Operation |
| 400 | Invalid username supplied |
| 404 | User not found |
Example
{
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
}