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": "fd820b86-47c2-4d08-b606-bf8ebf87d529",
  "tenantId": "f3cd0a6e-78f7-4a27-8076-3719b7c81f09",
  "lookupKey": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "isDefault": true,
  "createdDateUtc": "2026-10-07T06:24:18.353195+00:00",
  "updatedDateUtc": "2026-10-07T06:24:18.353195+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>2026-10-07T06:24:18.353195+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-10-07T06:24:18.353195+00:00</UpdatedDateUtc>
  <Description>sample string 5</Description>
  <DeviceGroupId>fd820b86-47c2-4d08-b606-bf8ebf87d529</DeviceGroupId>
  <IsDefault>true</IsDefault>
  <LookupKey>sample string 3</LookupKey>
  <Name>sample string 4</Name>
  <TenantId>f3cd0a6e-78f7-4a27-8076-3719b7c81f09</TenantId>
</DeviceGroupRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.