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": "c009286e-6334-484d-9c86-fa7689f9d694",
  "tenantId": "680f2d91-a1b2-4e3d-8062-f3d7780c69fc",
  "lookupKey": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "isDefault": true,
  "createdDateUtc": "2024-10-17T13:56:58.8046309+00:00",
  "updatedDateUtc": "2024-10-17T13:56:58.8046309+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>2024-10-17T13:56:58.8046309+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2024-10-17T13:56:58.8046309+00:00</UpdatedDateUtc>
  <Description>sample string 5</Description>
  <DeviceGroupId>c009286e-6334-484d-9c86-fa7689f9d694</DeviceGroupId>
  <IsDefault>true</IsDefault>
  <LookupKey>sample string 3</LookupKey>
  <Name>sample string 4</Name>
  <TenantId>680f2d91-a1b2-4e3d-8062-f3d7780c69fc</TenantId>
</DeviceGroupRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.