Replace an item

<< Click to Display Table of Contents >>

Navigation:  Technical Documentation > OpenAir SDK > Browser >

Replace an item

In OpenAir: it is possible via a drag and drop to replace an item in a playlist, as well as a cartstack item.

To do so a command is called through the following URL:

 

Request type: POST

Request: [Service_Url] / api / OnAir / replaceItem

 

This command sent to the AirDDO to perform the replacement action with the following information in body parameter (ddo_id, channelDest, numCartDest, guidItem, dataItem). "DataItem" being the object containing the information coordinating the selected item.

A drag & drop from the browser sends the same command and the same parameters.