GET api/Gadget/GetUser

Get an object that contains the information of authenticated user.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

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": "e6cd1f80-3856-4656-b146-efd638044a0c",
  "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": "bf12b767-e3fd-4fad-8e7f-fa42c8282726",
  "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>bf12b767-e3fd-4fad-8e7f-fa42c8282726</_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>e6cd1f80-3856-4656-b146-efd638044a0c</_x003C_UserId_x003E_k__BackingField>
</User>