Cyan Web API - Version 1


POST api/deviceApplications

            Creates a DeviceApplication.
            

Request Information

Parameters

NameDescriptionAdditional information
deviceApplicationRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "deviceId": "f68cb5a5-af14-4b8d-853f-875f0a3c3e6f",
  "applicationId": "e3ebe5e6-8c1f-4459-8b82-1ca5cc8b1a6a",
  "isLicensed": true,
  "createdDateUtc": "2026-11-04T15:47:49.5594967+00:00",
  "updatedDateUtc": "2026-11-04T15:47:49.5594967+00:00"
}

application/xml, text/xml

Sample:
<DeviceApplicationRepresentation 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-11-04T15:47:49.5594967+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-11-04T15:47:49.5594967+00:00</UpdatedDateUtc>
  <ApplicationId>e3ebe5e6-8c1f-4459-8b82-1ca5cc8b1a6a</ApplicationId>
  <DeviceId>f68cb5a5-af14-4b8d-853f-875f0a3c3e6f</DeviceId>
  <IsLicensed>true</IsLicensed>
</DeviceApplicationRepresentation>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DeviceApplicationRepresentation'.