<?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 Re: How to create stream using QRS API? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140718#M2000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satyanarayana Gopu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code for creating the stream using QRS Api -&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var fs = require('fs');&lt;/P&gt;&lt;P&gt;var request = require('request');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var r = request.defaults({&lt;/P&gt;&lt;P&gt;rejectUnauthorized: false,&lt;/P&gt;&lt;P&gt;host: 'Host-name',&lt;/P&gt;&lt;P&gt;pfx: fs.readFileSync("client.pfx"),&lt;/P&gt;&lt;P&gt;passphrase: '1234' //if you have password to certificate else no need to define this &lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Authenticate whatever user you want&lt;/P&gt;&lt;P&gt;var b = JSON.stringify({&lt;/P&gt;&lt;P&gt;"UserDirectory": 'user-directory',&lt;/P&gt;&lt;P&gt;"UserId": 'user-Id',&lt;/P&gt;&lt;P&gt;"Attributes": []&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;console.log('New Stream');&lt;/P&gt;&lt;P&gt;r.post({&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;url:'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://Host-name:4242/qrs/stream/?xrfkey=abcdefghijklmnop" rel="nofollow" target="_blank"&gt;https://Host-name:4242/qrs/stream/?xrfkey=abcdefghijklmnop&lt;/A&gt;&lt;SPAN&gt;',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;body: { name: 'user-Id' },&lt;/P&gt;&lt;P&gt;headers: {&lt;/P&gt;&lt;P&gt;'cache-control': 'no-cache',&lt;/P&gt;&lt;P&gt;'x-qlik-user': 'UserDirectory= user-directory; UserId= user-Id',&lt;/P&gt;&lt;P&gt;'content-type': 'application/json',&lt;/P&gt;&lt;P&gt;'x-qlik-xrfkey': 'abcdefghijklmnop'&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;json: true&lt;/P&gt;&lt;P&gt;},function(err,res,body){&lt;/P&gt;&lt;P&gt;console.log(body);&lt;/P&gt;&lt;P&gt;//Check the Stream gets created in Qliksense hub/qmc&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the link for more refernces -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Connect-API.htm" title="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Connect-API.htm"&gt;https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServic…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link for list of endpoints for QRS Api&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-QRS-API-Endpoints.htm" title="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-QRS-API-Endpoints.htm"&gt;https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServic…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashant Naik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2018 11:23:34 GMT</pubDate>
    <dc:creator>Prashant_Naik</dc:creator>
    <dc:date>2018-10-08T11:23:34Z</dc:date>
    <item>
      <title>How to create stream using QRS API?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140716#M1998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create stream using QRS api? what is the &lt;SPAN style="font-size: 13.3333px;"&gt;syntax /&lt;/SPAN&gt; API url for create stream ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even Documentation is also fine for me &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 10:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140716#M1998</guid>
      <dc:creator>satyagopu</dc:creator>
      <dc:date>2018-10-08T10:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create stream using QRS API?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140717#M1999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably want to use this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2018/apis/repositoryserviceapi/index.html#881534914319979d44988dcb08bf4630" title="https://help.qlik.com/en-US/sense-developer/September2018/apis/repositoryserviceapi/index.html#881534914319979d44988dcb08bf4630"&gt;https://help.qlik.com/en-US/sense-developer/September2018/apis/repositoryserviceapi/index.html#881534914319979d44988dcb0…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 10:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140717#M1999</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2018-10-08T10:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create stream using QRS API?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140718#M2000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satyanarayana Gopu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code for creating the stream using QRS Api -&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var fs = require('fs');&lt;/P&gt;&lt;P&gt;var request = require('request');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var r = request.defaults({&lt;/P&gt;&lt;P&gt;rejectUnauthorized: false,&lt;/P&gt;&lt;P&gt;host: 'Host-name',&lt;/P&gt;&lt;P&gt;pfx: fs.readFileSync("client.pfx"),&lt;/P&gt;&lt;P&gt;passphrase: '1234' //if you have password to certificate else no need to define this &lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Authenticate whatever user you want&lt;/P&gt;&lt;P&gt;var b = JSON.stringify({&lt;/P&gt;&lt;P&gt;"UserDirectory": 'user-directory',&lt;/P&gt;&lt;P&gt;"UserId": 'user-Id',&lt;/P&gt;&lt;P&gt;"Attributes": []&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;console.log('New Stream');&lt;/P&gt;&lt;P&gt;r.post({&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;url:'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://Host-name:4242/qrs/stream/?xrfkey=abcdefghijklmnop" rel="nofollow" target="_blank"&gt;https://Host-name:4242/qrs/stream/?xrfkey=abcdefghijklmnop&lt;/A&gt;&lt;SPAN&gt;',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;body: { name: 'user-Id' },&lt;/P&gt;&lt;P&gt;headers: {&lt;/P&gt;&lt;P&gt;'cache-control': 'no-cache',&lt;/P&gt;&lt;P&gt;'x-qlik-user': 'UserDirectory= user-directory; UserId= user-Id',&lt;/P&gt;&lt;P&gt;'content-type': 'application/json',&lt;/P&gt;&lt;P&gt;'x-qlik-xrfkey': 'abcdefghijklmnop'&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;json: true&lt;/P&gt;&lt;P&gt;},function(err,res,body){&lt;/P&gt;&lt;P&gt;console.log(body);&lt;/P&gt;&lt;P&gt;//Check the Stream gets created in Qliksense hub/qmc&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the link for more refernces -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Connect-API.htm" title="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Connect-API.htm"&gt;https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServic…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link for list of endpoints for QRS Api&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-QRS-API-Endpoints.htm" title="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-QRS-API-Endpoints.htm"&gt;https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServic…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashant Naik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 11:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140718#M2000</guid>
      <dc:creator>Prashant_Naik</dc:creator>
      <dc:date>2018-10-08T11:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create stream using QRS API?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140719#M2001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kolsrud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check the documentation. If you have any sample on the create stream using NTLM authentication, please share to me. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140719#M2001</guid>
      <dc:creator>satyagopu</dc:creator>
      <dc:date>2018-10-08T12:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create stream using QRS API?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140720#M2002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the "name" property is the only property you really have to define in the body of that call. I've added this example that illustrates how to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/kolsrud/qlik_rest_sdk/blob/master/Qlik.Sense.RestClient/Examples/CreateStream/Program.cs" title="https://github.com/kolsrud/qlik_rest_sdk/blob/master/Qlik.Sense.RestClient/Examples/CreateStream/Program.cs"&gt;https://github.com/kolsrud/qlik_rest_sdk/blob/master/Qlik.Sense.RestClient/Examples/CreateStream/Program.cs&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 13:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140720#M2002</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2018-10-08T13:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create stream using QRS API?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140721#M2003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kolsrud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the xrfkey in case of streams due to that it is not working for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-create-stream-using-QRS-API/m-p/140721#M2003</guid>
      <dc:creator>satyagopu</dc:creator>
      <dc:date>2018-10-09T07:22:03Z</dc:date>
    </item>
  </channel>
</rss>

