GET users/{id}
Gets the information of the user with the specified identifier.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The identifier of the user. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Username | string |
Filterable |
|
| Profile | UserProfileViewModel |
Filterable |
|
| SelfUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"username": "sample string 2",
"profile": {
"firstname": "sample string 1",
"lastname": "sample string 2"
},
"selfUrl": "sample string 3"
}