GET api/ManageUser/GetUserInfoByUserRef/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| displayName | string |
None. |
|
| token | string |
None. |
|
| username | string |
None. |
|
| image | string |
None. |
|
| success | boolean |
None. |
|
| rememberMe | boolean |
None. |
|
| expireDate | string |
None. |
|
| string |
None. |
||
| phoneNumber | string |
None. |
|
| businessCount | string |
None. |
|
| vehicleCount | string |
None. |
|
| errorMessage | string |
None. |
|
| roles | Collection of RoleDTO |
None. |
|
| isGoogleLogin | boolean |
None. |
|
| profileIcon | string |
None. |
|
| isTruckIcon | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"displayName": "sample string 2",
"token": "sample string 3",
"username": "sample string 4",
"image": "sample string 5",
"success": true,
"rememberMe": true,
"expireDate": "sample string 8",
"email": "sample string 9",
"phoneNumber": "sample string 10",
"businessCount": "sample string 11",
"vehicleCount": "sample string 12",
"errorMessage": "sample string 13",
"roles": [
{
"Id": "sample string 1",
"Name": "sample string 2"
},
{
"Id": "sample string 1",
"Name": "sample string 2"
}
],
"isGoogleLogin": true,
"profileIcon": "sample string 15",
"isTruckIcon": true
}
application/xml, text/xml
Sample:
<UserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs">
<businessCount>sample string 11</businessCount>
<displayName>sample string 2</displayName>
<email>sample string 9</email>
<errorMessage>sample string 13</errorMessage>
<expireDate>sample string 8</expireDate>
<id>sample string 1</id>
<image>sample string 5</image>
<isGoogleLogin>true</isGoogleLogin>
<isTruckIcon>true</isTruckIcon>
<phoneNumber>sample string 10</phoneNumber>
<profileIcon>sample string 15</profileIcon>
<rememberMe>true</rememberMe>
<roles>
<RoleDTO>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</RoleDTO>
<RoleDTO>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</RoleDTO>
</roles>
<success>true</success>
<token>sample string 3</token>
<username>sample string 4</username>
<vehicleCount>sample string 12</vehicleCount>
</UserDTO>