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": "608fb9c0-d542-40d6-a5e6-961ffd2611a5",
  "tenantId": "bd9bcf5f-34bf-4ec7-a2d0-a3e1778bcfae",
  "lookupKey": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "isDefault": true,
  "createdDateUtc": "2025-05-30T22:58:37.333209+00:00",
  "updatedDateUtc": "2025-05-30T22:58:37.333209+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-05-30T22:58:37.333209+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-05-30T22:58:37.333209+00:00</UpdatedDateUtc>
  <Description>sample string 5</Description>
  <DeviceGroupId>608fb9c0-d542-40d6-a5e6-961ffd2611a5</DeviceGroupId>
  <IsDefault>true</IsDefault>
  <LookupKey>sample string 3</LookupKey>
  <Name>sample string 4</Name>
  <TenantId>bd9bcf5f-34bf-4ec7-a2d0-a3e1778bcfae</TenantId>
</DeviceGroupRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.