Cyan Web API - Version 1


GET api/deviceGroups

            Gets all DeviceGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceGroupId": "f2697001-5c4d-4f01-a7a4-530797b3de0f",
    "tenantId": "a22e4332-c728-43c8-a4be-0c0235bcd5e4",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-06-06T09:08:26.4002863+00:00",
    "updatedDateUtc": "2025-06-06T09:08:26.4002863+00:00"
  },
  {
    "deviceGroupId": "f2697001-5c4d-4f01-a7a4-530797b3de0f",
    "tenantId": "a22e4332-c728-43c8-a4be-0c0235bcd5e4",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-06-06T09:08:26.4002863+00:00",
    "updatedDateUtc": "2025-06-06T09:08:26.4002863+00:00"
  },
  {
    "deviceGroupId": "f2697001-5c4d-4f01-a7a4-530797b3de0f",
    "tenantId": "a22e4332-c728-43c8-a4be-0c0235bcd5e4",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-06-06T09:08:26.4002863+00:00",
    "updatedDateUtc": "2025-06-06T09:08:26.4002863+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-06-06T09:08:26.4002863+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-06-06T09:08:26.4002863+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>f2697001-5c4d-4f01-a7a4-530797b3de0f</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>a22e4332-c728-43c8-a4be-0c0235bcd5e4</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2025-06-06T09:08:26.4002863+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-06-06T09:08:26.4002863+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>f2697001-5c4d-4f01-a7a4-530797b3de0f</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>a22e4332-c728-43c8-a4be-0c0235bcd5e4</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2025-06-06T09:08:26.4002863+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-06-06T09:08:26.4002863+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>f2697001-5c4d-4f01-a7a4-530797b3de0f</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>a22e4332-c728-43c8-a4be-0c0235bcd5e4</TenantId>
  </DeviceGroupRepresentation>
</ArrayOfDeviceGroupRepresentation>