Insert an item

<< Click to Display Table of Contents >>

Navigation:  Technical Documentation > OpenAir SDK > Browser >

Insert an item

In OpenAir: it is possible via a drag and drop to add an item in a playlist, and in a cartstack. To do so a command is called through the following URL:

 

Request type: POST

Request: [Service_Url] / api / OnAir / InsertItem

 

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.