GET api/Users/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
User| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4"
}
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaskApi.Models"> <Email>sample string 4</Email> <FirstName>sample string 2</FirstName> <Id>1</Id> <LastName>sample string 3</LastName> </User>