GET users?username={username}

Retrieve one User Roles: ApiRole

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

Username

string

Required

Body Parameters

None.

Response Information

Resource Description

Returns specific user

User
NameDescriptionTypeAdditional information
UserName

Username

string

None.

CustomerID

User Customer ID

integer

None.

Email

User email

string

None.

Phone

User phone

string

None.

Mobile

User Mobile

string

None.

FullName

User full name

string

None.

FirstName

User first name

string

None.

LastName

User last name

string

None.

Roles

User roles

Collection of string

None.

Culture

User culture

string

None.

Language

User language

string

None.

TimeZone

User timezone

string

None.

Created

User created date

date

None.

LastActivity

User last activity date

date

None.

AllowContact

May contact via phone and email

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "CustomerID": 2,
  "Email": "sample string 3",
  "Phone": "sample string 4",
  "Mobile": "sample string 5",
  "FullName": "sample string 6 sample string 7",
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "Roles": [
    "sample string 1",
    "sample string 2"
  ],
  "Culture": "sample string 8",
  "Language": "sample string 9",
  "TimeZone": "sample string 10",
  "Created": "2018-10-20T01:44:00.9104459+00:00",
  "LastActivity": "2018-10-20T01:44:00.9104459+00:00",
  "AllowContact": true
}

application/xml, text/xml

Sample:
<User xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UserName>sample string 1</UserName>
  <CustomerID>2</CustomerID>
  <Email>sample string 3</Email>
  <Phone>sample string 4</Phone>
  <Mobile>sample string 5</Mobile>
  <FirstName>sample string 6</FirstName>
  <LastName>sample string 7</LastName>
  <Roles>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Roles>
  <Culture>sample string 8</Culture>
  <Language>sample string 9</Language>
  <TimeZone>sample string 10</TimeZone>
  <Created>2018-10-20T01:44:00.9104459+00:00</Created>
  <LastActivity>2018-10-20T01:44:00.9104459+00:00</LastActivity>
  <AllowContact>true</AllowContact>
</User>