Cyan Web API - Version 1


GET api/deviceGroups

            Gets all DeviceGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceGroupId": "1070e456-aecd-4563-bbf4-6cecc22c687e",
    "tenantId": "8e796805-0405-4100-bfab-90a542ba3bce",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-04-19T22:05:05.3059355+00:00",
    "updatedDateUtc": "2025-04-19T22:05:05.3059355+00:00"
  },
  {
    "deviceGroupId": "1070e456-aecd-4563-bbf4-6cecc22c687e",
    "tenantId": "8e796805-0405-4100-bfab-90a542ba3bce",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-04-19T22:05:05.3059355+00:00",
    "updatedDateUtc": "2025-04-19T22:05:05.3059355+00:00"
  },
  {
    "deviceGroupId": "1070e456-aecd-4563-bbf4-6cecc22c687e",
    "tenantId": "8e796805-0405-4100-bfab-90a542ba3bce",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2025-04-19T22:05:05.3059355+00:00",
    "updatedDateUtc": "2025-04-19T22:05:05.3059355+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-04-19T22:05:05.3059355+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-19T22:05:05.3059355+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>1070e456-aecd-4563-bbf4-6cecc22c687e</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>8e796805-0405-4100-bfab-90a542ba3bce</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2025-04-19T22:05:05.3059355+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-19T22:05:05.3059355+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>1070e456-aecd-4563-bbf4-6cecc22c687e</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>8e796805-0405-4100-bfab-90a542ba3bce</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2025-04-19T22:05:05.3059355+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-19T22:05:05.3059355+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>1070e456-aecd-4563-bbf4-6cecc22c687e</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>8e796805-0405-4100-bfab-90a542ba3bce</TenantId>
  </DeviceGroupRepresentation>
</ArrayOfDeviceGroupRepresentation>