GET /service/api/console/gsm/{gsmKey}/admins

Gets the list of admins on a given GSM console.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
gsmKey

The GSM console keycode.

string

Required

URI Sample(s)

GET
https://unityapi.webrootcloudav.com/service/api/console/gsm/E9E6-9006-E84E-46A5-8461/admins

Body Parameters

None.

Response Information

Resource Description

Information about the list of admins on a given GSM console.

GetGSMAdminsResponseModel
NameDescriptionTypeAdditional Information
TotalCount

Total number of users available.

integer

None.

Admins

List of user details records.

Collection of GetGSMAdminsResponseModel_Admin

None.

Sample Response

{
  "TotalCount": 2,
  "Admins": [
    {
      "UserId": "ebc541bc-ca9a-4708-9b4a-f91acda74ae0",
      "Email": "test1@webroot.com",
      "FirstName": "Test1",
      "LastName": "User1",
      "DisplayName": "Test1 User1",
      "MobileTel": "07279132",
      "OfficeTel": "01981226",
      "UserState": "Activated",
      "AccessLevel": 128,
      "MSPUser": false,
      "Confirmed": true
    },
    {
      "UserId": "e7e61cf8-127c-4600-9e9d-e1765ee72bb7",
      "Email": "test2@webroot.com",
      "FirstName": "Test2",
      "LastName": "User2",
      "DisplayName": "Test2 User2",
      "MobileTel": "07558596",
      "OfficeTel": "01161952",
      "UserState": "Activated",
      "AccessLevel": 128,
      "MSPUser": false,
      "Confirmed": true
    }
  ]
}                    
<GetGSMAdminsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models">
  <Admins>
    <GetGSMAdminsResponseModel_Admin>
      <AccessLevel>128</AccessLevel>
      <Confirmed>true</Confirmed>
      <DisplayName>Test1 User1</DisplayName>
      <Email>test1@webroot.com</Email>
      <FirstName>Test1</FirstName>
      <LastName>User1</LastName>
      <MSPUser>false</MSPUser>
      <MobileTel>07279132</MobileTel>
      <OfficeTel>01981226</OfficeTel>
      <UserId>ebc541bc-ca9a-4708-9b4a-f91acda74ae0</UserId>
      <UserState>Activated</UserState>
    </GetGSMAdminsResponseModel_Admin>
    <GetGSMAdminsResponseModel_Admin>
      <AccessLevel>128</AccessLevel>
      <Confirmed>true</Confirmed>
      <DisplayName>Test2 User2</DisplayName>
      <Email>test2@webroot.com</Email>
      <FirstName>Test2</FirstName>
      <LastName>User2</LastName>
      <MSPUser>false</MSPUser>
      <MobileTel>07558596</MobileTel>
      <OfficeTel>01161952</OfficeTel>
      <UserId>e7e61cf8-127c-4600-9e9d-e1765ee72bb7</UserId>
      <UserState>Activated</UserState>
    </GetGSMAdminsResponseModel_Admin>
  </Admins>
  <TotalCount>2</TotalCount>
</GetGSMAdminsResponseModel>