<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SSIS API Call in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/SSIS-API-Call/m-p/1590139#M10973</link>
    <description>&lt;P&gt;I'm trying to get a list of Apps and what streams they exist in. Below is some of the code I'm trying to use in order to connect to the server, but I feel like I'm in some way missing something on an authentication stand point. Currently it's telling me that the server is actively rejecting and closing my connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;var request = (HttpWebRequest)WebRequest.Create("http://WebAddress/dev-hub/engine-api-explorer?qlikTicket=6WNtxKaJWM2zhUFg");&lt;BR /&gt;request.ContentType = "application/json";&lt;BR /&gt;request.Method = "POST";&lt;BR /&gt;request.ServicePoint.Expect100Continue = false;&lt;/P&gt;&lt;P&gt;using (var streamWriter = new StreamWriter(request.GetRequestStream()))&lt;BR /&gt;{&lt;BR /&gt;string json = " {\"username\": \"MyUserName\",\"password\": \"MyPassword\",\"name\": \"GETAPPLIST\", \"handle\": \"-1\", \"method\": \"GetDocList\", \"params\": []}";&lt;BR /&gt;streamWriter.Write(json);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 17:24:56 GMT</pubDate>
    <dc:creator>DatabaseGuy</dc:creator>
    <dc:date>2019-06-10T17:24:56Z</dc:date>
    <item>
      <title>SSIS API Call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/SSIS-API-Call/m-p/1590139#M10973</link>
      <description>&lt;P&gt;I'm trying to get a list of Apps and what streams they exist in. Below is some of the code I'm trying to use in order to connect to the server, but I feel like I'm in some way missing something on an authentication stand point. Currently it's telling me that the server is actively rejecting and closing my connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;var request = (HttpWebRequest)WebRequest.Create("http://WebAddress/dev-hub/engine-api-explorer?qlikTicket=6WNtxKaJWM2zhUFg");&lt;BR /&gt;request.ContentType = "application/json";&lt;BR /&gt;request.Method = "POST";&lt;BR /&gt;request.ServicePoint.Expect100Continue = false;&lt;/P&gt;&lt;P&gt;using (var streamWriter = new StreamWriter(request.GetRequestStream()))&lt;BR /&gt;{&lt;BR /&gt;string json = " {\"username\": \"MyUserName\",\"password\": \"MyPassword\",\"name\": \"GETAPPLIST\", \"handle\": \"-1\", \"method\": \"GetDocList\", \"params\": []}";&lt;BR /&gt;streamWriter.Write(json);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 17:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/SSIS-API-Call/m-p/1590139#M10973</guid>
      <dc:creator>DatabaseGuy</dc:creator>
      <dc:date>2019-06-10T17:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: SSIS API Call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/SSIS-API-Call/m-p/1603982#M10994</link>
      <description>&lt;LI-CODE lang="javascript"&gt;var https = require('https');
var fs = require('fs');

var options = {
    hostname: 'demo.test.kz',
    port: 4242,
    path: '/qrs/app/full?xrfkey=0MwkYLXpxHrbkKGu',
    method: 'GET',
    headers: {
        'x-qlik-xrfkey' : '0MwkYLXpxHrbkKGu',
        'x-qlik-xrfkey' : '0MwkYLXpxHrbkKGu',
        'X-Qlik-User' : 'UserDirectory=internal; UserId=sa_repository'
    },
    key: fs.readFileSync("C:\\Users\\...\\client_key.pem"),
    cert: fs.readFileSync("C:\\Users\\...\\client.pem"),
    ca: fs.readFileSync("C:\\Users\\...\\root.pem")
};
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
https.get(options, function(res) {
    var bmpString = "";
    res.on("data", function(data) {
        bmpString += data;
    });
    res.on("close", function() {
      console.log(bmpString)
    });
}).on('error', function(e) {
    console.log("Got error: " + e.message);
});
&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 19 Jul 2019 04:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/SSIS-API-Call/m-p/1603982#M10994</guid>
      <dc:creator>kassyernar</dc:creator>
      <dc:date>2019-07-19T04:12:46Z</dc:date>
    </item>
  </channel>
</rss>

