GET api/User/GetAll

Get All users

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Get All users

API_Data_ListOfTShortLoginInfo
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of TShortLoginInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "PersonID": 1,
      "LoginName": "sample string 2",
      "FullName": "sample string 3",
      "EmailAddress": "sample string 4",
      "LicenseType": 5,
      "Phone": "sample string 6",
      "IsActive": true,
      "IsAdministrator": true,
      "IsSampleUser": true
    },
    {
      "PersonID": 1,
      "LoginName": "sample string 2",
      "FullName": "sample string 3",
      "EmailAddress": "sample string 4",
      "LicenseType": 5,
      "Phone": "sample string 6",
      "IsActive": true,
      "IsAdministrator": true,
      "IsSampleUser": true
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfTShortLoginInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.SystemManage">
    <d2p1:TShortLoginInfo>
      <d2p1:EmailAddress>sample string 4</d2p1:EmailAddress>
      <d2p1:FullName>sample string 3</d2p1:FullName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsAdministrator>true</d2p1:IsAdministrator>
      <d2p1:IsSampleUser>true</d2p1:IsSampleUser>
      <d2p1:LicenseType>5</d2p1:LicenseType>
      <d2p1:LoginName>sample string 2</d2p1:LoginName>
      <d2p1:PersonID>1</d2p1:PersonID>
      <d2p1:Phone>sample string 6</d2p1:Phone>
    </d2p1:TShortLoginInfo>
    <d2p1:TShortLoginInfo>
      <d2p1:EmailAddress>sample string 4</d2p1:EmailAddress>
      <d2p1:FullName>sample string 3</d2p1:FullName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsAdministrator>true</d2p1:IsAdministrator>
      <d2p1:IsSampleUser>true</d2p1:IsSampleUser>
      <d2p1:LicenseType>5</d2p1:LicenseType>
      <d2p1:LoginName>sample string 2</d2p1:LoginName>
      <d2p1:PersonID>1</d2p1:PersonID>
      <d2p1:Phone>sample string 6</d2p1:Phone>
    </d2p1:TShortLoginInfo>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfTShortLoginInfo>