GET api/User/Get/{id}
Documentation for 'Get'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | Documentation for 'id'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"id": 1,
"fName": "sample string 2",
"lName": "sample string 3",
"dept": "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/RestManager.Models"> <dept>sample string 4</dept> <fName>sample string 2</fName> <id>1</id> <lName>sample string 3</lName> </User>