Cyan Web API - Version 1


GET api/deviceGroups

            Gets all DeviceGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceGroupId": "e00e9c88-6b31-46a5-bc15-17d1a9b5cb2f",
    "tenantId": "cb8159dd-16a0-4482-9ee8-2e83a32d7cab",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-02-04T01:51:07.8151535+00:00",
    "updatedDateUtc": "2026-02-04T01:51:07.8151535+00:00"
  },
  {
    "deviceGroupId": "e00e9c88-6b31-46a5-bc15-17d1a9b5cb2f",
    "tenantId": "cb8159dd-16a0-4482-9ee8-2e83a32d7cab",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-02-04T01:51:07.8151535+00:00",
    "updatedDateUtc": "2026-02-04T01:51:07.8151535+00:00"
  },
  {
    "deviceGroupId": "e00e9c88-6b31-46a5-bc15-17d1a9b5cb2f",
    "tenantId": "cb8159dd-16a0-4482-9ee8-2e83a32d7cab",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-02-04T01:51:07.8151535+00:00",
    "updatedDateUtc": "2026-02-04T01:51:07.8151535+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-02-04T01:51:07.8151535+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-02-04T01:51:07.8151535+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>e00e9c88-6b31-46a5-bc15-17d1a9b5cb2f</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>cb8159dd-16a0-4482-9ee8-2e83a32d7cab</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-02-04T01:51:07.8151535+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-02-04T01:51:07.8151535+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>e00e9c88-6b31-46a5-bc15-17d1a9b5cb2f</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>cb8159dd-16a0-4482-9ee8-2e83a32d7cab</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-02-04T01:51:07.8151535+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-02-04T01:51:07.8151535+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>e00e9c88-6b31-46a5-bc15-17d1a9b5cb2f</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>cb8159dd-16a0-4482-9ee8-2e83a32d7cab</TenantId>
  </DeviceGroupRepresentation>
</ArrayOfDeviceGroupRepresentation>