GET api/Mobile/GetUser
Gets the user information based on the authentication details
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
returns a domain user
UserName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
Name | string |
None. |
|
string |
None. |
||
Code | string |
None. |
|
ImageUrl | string |
None. |
|
CurrentCountryId | string |
None. |
|
CurrentTimeZoneId | string |
None. |
|
CurrentAccountId | globally unique identifier |
None. |
|
CurrentAccountCode | string |
None. |
|
CurrentAccountName | string |
None. |
|
Token | string |
None. |
|
IsAdmin | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserId": "39736f07-2142-4339-944a-b71258cabf30", "Name": "sample string 2", "Email": "sample string 3", "Code": "sample string 4", "ImageUrl": "sample string 5", "CurrentCountryId": "sample string 6", "CurrentTimeZoneId": "sample string 7", "CurrentAccountId": "487d6827-b542-4fb5-a9bb-2518d8cffcfa", "CurrentAccountCode": "sample string 8", "CurrentAccountName": "sample string 9", "Token": "sample string 10", "IsAdmin": true }
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.SDK.Domain"> <_x003C_Code_x003E_k__BackingField>sample string 4</_x003C_Code_x003E_k__BackingField> <_x003C_CurrentAccountCode_x003E_k__BackingField>sample string 8</_x003C_CurrentAccountCode_x003E_k__BackingField> <_x003C_CurrentAccountId_x003E_k__BackingField>487d6827-b542-4fb5-a9bb-2518d8cffcfa</_x003C_CurrentAccountId_x003E_k__BackingField> <_x003C_CurrentAccountName_x003E_k__BackingField>sample string 9</_x003C_CurrentAccountName_x003E_k__BackingField> <_x003C_CurrentCountryId_x003E_k__BackingField>sample string 6</_x003C_CurrentCountryId_x003E_k__BackingField> <_x003C_CurrentTimeZoneId_x003E_k__BackingField>sample string 7</_x003C_CurrentTimeZoneId_x003E_k__BackingField> <_x003C_Email_x003E_k__BackingField>sample string 3</_x003C_Email_x003E_k__BackingField> <_x003C_ImageUrl_x003E_k__BackingField>sample string 5</_x003C_ImageUrl_x003E_k__BackingField> <_x003C_IsAdmin_x003E_k__BackingField>true</_x003C_IsAdmin_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 2</_x003C_Name_x003E_k__BackingField> <_x003C_Token_x003E_k__BackingField>sample string 10</_x003C_Token_x003E_k__BackingField> <_x003C_UserId_x003E_k__BackingField>39736f07-2142-4339-944a-b71258cabf30</_x003C_UserId_x003E_k__BackingField> </User>