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

User
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

Name

string

None.

Email

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": "d6b5b676-cc75-4132-af38-aa0073c6cf41",
  "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": "afff58cf-0d9f-417c-bfc0-40ff66a73e2f",
  "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>afff58cf-0d9f-417c-bfc0-40ff66a73e2f</_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>d6b5b676-cc75-4132-af38-aa0073c6cf41</_x003C_UserId_x003E_k__BackingField>
</User>