Cyan Web API - Version 1


POST api/deviceGroups

            Creates a DeviceGroup
            

Request Information

Parameters

NameDescriptionAdditional information
deviceGroupRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "deviceGroupId": "d81e28c6-e62e-4b37-bc2f-8ff1eaebbf73",
  "tenantId": "a84650a3-7d7b-4b8f-80c2-a29edc887a14",
  "lookupKey": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "isDefault": true,
  "createdDateUtc": "2025-12-15T19:41:02.1179237+00:00",
  "updatedDateUtc": "2025-12-15T19:41:02.1179237+00:00"
}

application/xml, text/xml

Sample:
<DeviceGroupRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <CreatedDateUtc>2025-12-15T19:41:02.1179237+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-12-15T19:41:02.1179237+00:00</UpdatedDateUtc>
  <Description>sample string 5</Description>
  <DeviceGroupId>d81e28c6-e62e-4b37-bc2f-8ff1eaebbf73</DeviceGroupId>
  <IsDefault>true</IsDefault>
  <LookupKey>sample string 3</LookupKey>
  <Name>sample string 4</Name>
  <TenantId>a84650a3-7d7b-4b8f-80c2-a29edc887a14</TenantId>
</DeviceGroupRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.