2 Replies Latest reply: Jan 13, 2016 5:10 AM by Oriol TG RSS

    Qlik Sense SDK and API

    Oriol TG



      I have been working the last days into an aplication on .NET to be able to check if an app name exists in a stream deleting the application if exists and uploading and publishing the new one or only upload and publish the app if the application is new.

      I started with the SDK being able to comunicate with the server and also create and delete applications but not uploading and publishing so I tried with the API. With the API I was able to perform the operations related with GET and PUT but not with DELETE seeming to me the way to call that operation similar than the put, so I was forced to combine the SDK and the API.

      I supose is not the proper way to do that but I don't know if there is something that have to be taken into account when working with Delete operations.


      With PUT operation as an example trying to publish an app it returns the following REST message




      But trying to delete the application it returns me an HTML code starting with:


      Aplicacion no encontrada System.Exception: The HTTP request header is incorrect: <!doctype html>



        <meta charset="utf-8"/>

        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>

        <meta name="google" value="notranslate"/>

        <title>400 - Bad request</title>

        <link rel="shortcut icon" href="data:image/x-


      For the PUT operation I use the direction "/qrs/app/" + appId + "/publish" with the parameter "stream" specifying the stream id where I want to publish the application, with the Delete operation I use the direction "/qrs/app/"+applicationId with no parameters, I don't know if I have left something but I would like to know the proper way to perform the Delete operations.


      Thanks in advance for your help.