The Telerik Platform product is retired.Learn more

Updating a Device Registration

Updating a Device Registration

The information that you store about a device may change in time. That is why it is recommended to periodically update the device registration.

Before you do that, you may want to read the device's object to identify which parameters have changed values. After you have identified them, pass them to Telerik Platform using a PUT request as shown below. Note that you must URL-encode the hardware ID (encodedDeviceId) before sending it.

The registration object is detailed in Table of Registration Object Fields.

Use the following RESTful call to update a device registration:

     Content-Type: application/json
        "PlatformVersion": "4.0.4",
        "Parameters.MyIntValue": 2
    Status: 200 OK
    Content-Type: application/json
var deviceInfo = {
    "PlatformVersion": "4.0.4",
    "Parameters.MyIntValue": 2
var encodedDeviceId = encodeURIComponent(device_id);
    type: "PUT",
    url: '' + encodedDeviceId,
    contentType: "application/json",
    data: JSON.stringify(deviceInfo),
    success: function(data){
    error: function(error){

See Also

Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.