Cyan Web API - Version 1


GET api/deviceGroups

            Gets all DeviceGroups.
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "deviceGroupId": "741f5266-f5a4-4b1c-9181-6efaeeb51ba9",
    "tenantId": "75048d5f-6e7e-4a72-91bd-ddf38a7f73c2",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-02-07T16:41:24.8033754+00:00",
    "updatedDateUtc": "2026-02-07T16:41:24.8033754+00:00"
  },
  {
    "deviceGroupId": "741f5266-f5a4-4b1c-9181-6efaeeb51ba9",
    "tenantId": "75048d5f-6e7e-4a72-91bd-ddf38a7f73c2",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-02-07T16:41:24.8033754+00:00",
    "updatedDateUtc": "2026-02-07T16:41:24.8033754+00:00"
  },
  {
    "deviceGroupId": "741f5266-f5a4-4b1c-9181-6efaeeb51ba9",
    "tenantId": "75048d5f-6e7e-4a72-91bd-ddf38a7f73c2",
    "lookupKey": "sample string 3",
    "name": "sample string 4",
    "description": "sample string 5",
    "isDefault": true,
    "createdDateUtc": "2026-02-07T16:41:24.8033754+00:00",
    "updatedDateUtc": "2026-02-07T16:41:24.8033754+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-07T16:41:24.8033754+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-02-07T16:41:24.8033754+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>741f5266-f5a4-4b1c-9181-6efaeeb51ba9</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>75048d5f-6e7e-4a72-91bd-ddf38a7f73c2</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-02-07T16:41:24.8033754+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-02-07T16:41:24.8033754+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>741f5266-f5a4-4b1c-9181-6efaeeb51ba9</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>75048d5f-6e7e-4a72-91bd-ddf38a7f73c2</TenantId>
  </DeviceGroupRepresentation>
  <DeviceGroupRepresentation>
    <CreatedDateUtc>2026-02-07T16:41:24.8033754+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-02-07T16:41:24.8033754+00:00</UpdatedDateUtc>
    <Description>sample string 5</Description>
    <DeviceGroupId>741f5266-f5a4-4b1c-9181-6efaeeb51ba9</DeviceGroupId>
    <IsDefault>true</IsDefault>
    <LookupKey>sample string 3</LookupKey>
    <Name>sample string 4</Name>
    <TenantId>75048d5f-6e7e-4a72-91bd-ddf38a7f73c2</TenantId>
  </DeviceGroupRepresentation>
</ArrayOfDeviceGroupRepresentation>