Cyan Web API - Version 1


PUT api/deviceApplications?{deviceId}&{applicationId}

            Updates a DeviceApplication.
            

Request Information

Parameters

NameDescriptionAdditional information
deviceId

Define this parameter in the request URI.

applicationId

Define this parameter in the request URI.

deviceApplicationRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "deviceId": "0f325679-5f3f-44cc-90cb-deb9822b7ab9",
  "applicationId": "14e58c6f-ebaa-468d-b314-ca9b0fd3d6ea",
  "isLicensed": true,
  "createdDateUtc": "2025-11-17T04:04:28.6953716+00:00",
  "updatedDateUtc": "2025-11-17T04:04:28.6953716+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>2025-11-17T04:04:28.6953716+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-11-17T04:04:28.6953716+00:00</UpdatedDateUtc>
  <ApplicationId>14e58c6f-ebaa-468d-b314-ca9b0fd3d6ea</ApplicationId>
  <DeviceId>0f325679-5f3f-44cc-90cb-deb9822b7ab9</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'.