Cyan Web API - Version 1


GET api/deviceGroups

            Gets all DeviceGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceGroupId": "7e2533fd-d7ba-4ca2-a7b6-fa6a28f08ef9",
    "tenantId": "f90f957e-1f8f-48fe-af1c-8dcb1663fd3f",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-06-24T10:11:59.1393622+00:00",
    "updatedDateUtc": "2026-06-24T10:11:59.1393622+00:00"
  },
  {
    "deviceGroupId": "7e2533fd-d7ba-4ca2-a7b6-fa6a28f08ef9",
    "tenantId": "f90f957e-1f8f-48fe-af1c-8dcb1663fd3f",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-06-24T10:11:59.1393622+00:00",
    "updatedDateUtc": "2026-06-24T10:11:59.1393622+00:00"
  },
  {
    "deviceGroupId": "7e2533fd-d7ba-4ca2-a7b6-fa6a28f08ef9",
    "tenantId": "f90f957e-1f8f-48fe-af1c-8dcb1663fd3f",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-06-24T10:11:59.1393622+00:00",
    "updatedDateUtc": "2026-06-24T10:11:59.1393622+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-06-24T10:11:59.1393622+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-06-24T10:11:59.1393622+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>7e2533fd-d7ba-4ca2-a7b6-fa6a28f08ef9</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>f90f957e-1f8f-48fe-af1c-8dcb1663fd3f</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-06-24T10:11:59.1393622+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-06-24T10:11:59.1393622+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>7e2533fd-d7ba-4ca2-a7b6-fa6a28f08ef9</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>f90f957e-1f8f-48fe-af1c-8dcb1663fd3f</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-06-24T10:11:59.1393622+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-06-24T10:11:59.1393622+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>7e2533fd-d7ba-4ca2-a7b6-fa6a28f08ef9</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>f90f957e-1f8f-48fe-af1c-8dcb1663fd3f</TenantId>
  </DeviceGroupRepresentation>
</ArrayOfDeviceGroupRepresentation>