GET api/Users/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Users| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Password | string |
None. |
|
| LastModify | string |
None. |
|
| LastLogin | string |
None. |
|
| CompanyName | string |
None. |
|
| CreatedOn | string |
None. |
|
| CreatedBy | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsAdmin | boolean |
None. |
|
| IsCustomer | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Email": "sample string 3",
"Password": "sample string 4",
"LastModify": "sample string 5",
"LastLogin": "sample string 6",
"CompanyName": "sample string 7",
"CreatedOn": "sample string 8",
"CreatedBy": "sample string 9",
"IsActive": true,
"IsAdmin": true,
"IsCustomer": true
}
application/xml, text/xml
Sample:
<Users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication5.Models"> <CompanyName>sample string 7</CompanyName> <CreatedBy>sample string 9</CreatedBy> <CreatedOn>sample string 8</CreatedOn> <Email>sample string 3</Email> <Id>1</Id> <IsActive>true</IsActive> <IsAdmin>true</IsAdmin> <IsCustomer>true</IsCustomer> <LastLogin>sample string 6</LastLogin> <LastModify>sample string 5</LastModify> <Name>sample string 2</Name> <Password>sample string 4</Password> </Users>