Cyan Web API - Version 1


GET api/deviceGroups

            Gets all DeviceGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceGroupId": "6c5a5e02-7d4c-4508-a8c2-e0ccd851d7c5",
    "tenantId": "d384fe61-73c8-48c7-ae95-a3e70a426e63",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-11-19T05:11:38.5588161+00:00",
    "updatedDateUtc": "2025-11-19T05:11:38.5588161+00:00"
  },
  {
    "deviceGroupId": "6c5a5e02-7d4c-4508-a8c2-e0ccd851d7c5",
    "tenantId": "d384fe61-73c8-48c7-ae95-a3e70a426e63",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-11-19T05:11:38.5588161+00:00",
    "updatedDateUtc": "2025-11-19T05:11:38.5588161+00:00"
  },
  {
    "deviceGroupId": "6c5a5e02-7d4c-4508-a8c2-e0ccd851d7c5",
    "tenantId": "d384fe61-73c8-48c7-ae95-a3e70a426e63",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-11-19T05:11:38.5588161+00:00",
    "updatedDateUtc": "2025-11-19T05:11:38.5588161+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>2025-11-19T05:11:38.5588161+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-11-19T05:11:38.5588161+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>6c5a5e02-7d4c-4508-a8c2-e0ccd851d7c5</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>d384fe61-73c8-48c7-ae95-a3e70a426e63</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2025-11-19T05:11:38.5588161+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-11-19T05:11:38.5588161+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>6c5a5e02-7d4c-4508-a8c2-e0ccd851d7c5</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>d384fe61-73c8-48c7-ae95-a3e70a426e63</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2025-11-19T05:11:38.5588161+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-11-19T05:11:38.5588161+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>6c5a5e02-7d4c-4508-a8c2-e0ccd851d7c5</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>d384fe61-73c8-48c7-ae95-a3e70a426e63</TenantId>
  </DeviceGroupRepresentation>
</ArrayOfDeviceGroupRepresentation>