GET api/Users/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
NumId | integer |
None. |
|
UserName | string |
None. |
|
Name | string |
None. |
|
RoleNameNav | Role |
None. |
|
Number | string |
None. |
|
string |
None. |
||
Time | string |
None. |
|
Password | string |
None. |
|
Token | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "NumId": 2, "UserName": "sample string 3", "Name": "sample string 4", "RoleNameNav": { "Id": "sample string 1", "Name": "sample string 2" }, "Number": "sample string 5", "Email": "sample string 6", "Time": "sample string 7", "Password": "sample string 8", "Token": "sample string 9" }
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asian_pubishers_API.Models"> <Email>sample string 6</Email> <Id>sample string 1</Id> <Name>sample string 4</Name> <NumId>2</NumId> <Number>sample string 5</Number> <Password>sample string 8</Password> <RoleNameNav> <Id>sample string 1</Id> <Name>sample string 2</Name> </RoleNameNav> <Time>sample string 7</Time> <Token>sample string 9</Token> <UserName>sample string 3</UserName> </User>