Cyan Web API - Version 1


GET api/deviceGroups

            Gets all DeviceGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceGroupId": "195903c4-0cd2-4068-bb81-7de64412e7bc",
    "tenantId": "099a6939-5653-495b-8de3-2d25c0ca93e4",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-03-10T14:42:05.8189435+00:00",
    "updatedDateUtc": "2026-03-10T14:42:05.8189435+00:00"
  },
  {
    "deviceGroupId": "195903c4-0cd2-4068-bb81-7de64412e7bc",
    "tenantId": "099a6939-5653-495b-8de3-2d25c0ca93e4",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-03-10T14:42:05.8189435+00:00",
    "updatedDateUtc": "2026-03-10T14:42:05.8189435+00:00"
  },
  {
    "deviceGroupId": "195903c4-0cd2-4068-bb81-7de64412e7bc",
    "tenantId": "099a6939-5653-495b-8de3-2d25c0ca93e4",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-03-10T14:42:05.8189435+00:00",
    "updatedDateUtc": "2026-03-10T14:42:05.8189435+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDeviceGroupRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-03-10T14:42:05.8189435+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-03-10T14:42:05.8189435+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>195903c4-0cd2-4068-bb81-7de64412e7bc</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>099a6939-5653-495b-8de3-2d25c0ca93e4</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-03-10T14:42:05.8189435+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-03-10T14:42:05.8189435+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>195903c4-0cd2-4068-bb81-7de64412e7bc</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>099a6939-5653-495b-8de3-2d25c0ca93e4</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-03-10T14:42:05.8189435+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-03-10T14:42:05.8189435+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>195903c4-0cd2-4068-bb81-7de64412e7bc</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>099a6939-5653-495b-8de3-2d25c0ca93e4</TenantId>
  </DeviceGroupRepresentation>
</ArrayOfDeviceGroupRepresentation>