GET api/users/{id}
Get a single user by the id
Request Information
Authentication
This method requires user authentication
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
(Required) |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
User| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId |
User Id. Primary key of the users table. |
integer |
None. |
| UserTypeId |
User Type Id. See the GET api/usertypes/{id} route to get the user type data. |
integer |
None. |
| FirstName |
User First Name. |
string |
None. |
| LastName |
User Last Name. |
string |
None. |
|
User Email. |
string |
None. |
|
| CellPhone |
User Cell Phone. |
string |
None. |
| OtherPhone |
User Other Phone. |
string |
None. |
| Pager |
User Pager. |
string |
None. |
| Fax |
User Fax Number. |
string |
None. |
| Extension |
User Extension. |
string |
None. |
| TitleId |
Title Id. See the GET api/usertitles/{id} route to get the user title data. |
integer |
None. |
| HomePhone |
User Home Phone. |
string |
None. |
| AlternateTitle |
User Alternate Title. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserId": 1,
"UserTypeId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4",
"CellPhone": "sample string 5",
"OtherPhone": "sample string 6",
"Pager": "sample string 7",
"Fax": "sample string 8",
"Extension": "sample string 9",
"TitleId": 1,
"HomePhone": "sample string 10",
"AlternateTitle": "sample string 11"
}