Cyan Web API - Version 1


GET api/deviceGroups

            Gets all DeviceGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceGroupId": "76390653-0b21-47c0-a8a1-e0429c8e4736",
    "tenantId": "1c42d202-2dc6-4523-8749-63b77c7b3541",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-07-08T13:14:20.736035+00:00",
    "updatedDateUtc": "2025-07-08T13:14:20.736035+00:00"
  },
  {
    "deviceGroupId": "76390653-0b21-47c0-a8a1-e0429c8e4736",
    "tenantId": "1c42d202-2dc6-4523-8749-63b77c7b3541",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-07-08T13:14:20.736035+00:00",
    "updatedDateUtc": "2025-07-08T13:14:20.736035+00:00"
  },
  {
    "deviceGroupId": "76390653-0b21-47c0-a8a1-e0429c8e4736",
    "tenantId": "1c42d202-2dc6-4523-8749-63b77c7b3541",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-07-08T13:14:20.736035+00:00",
    "updatedDateUtc": "2025-07-08T13:14:20.736035+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-07-08T13:14:20.736035+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-08T13:14:20.736035+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>76390653-0b21-47c0-a8a1-e0429c8e4736</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>1c42d202-2dc6-4523-8749-63b77c7b3541</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2025-07-08T13:14:20.736035+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-08T13:14:20.736035+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>76390653-0b21-47c0-a8a1-e0429c8e4736</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>1c42d202-2dc6-4523-8749-63b77c7b3541</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2025-07-08T13:14:20.736035+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-08T13:14:20.736035+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>76390653-0b21-47c0-a8a1-e0429c8e4736</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>1c42d202-2dc6-4523-8749-63b77c7b3541</TenantId>
  </DeviceGroupRepresentation>
</ArrayOfDeviceGroupRepresentation>