<?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: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1996561#M17454</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50380"&gt;@rzenere_avvale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your examples. I couldn't test them yet because my environment (MS Visual Stucio) is claiming when I try to execute. That's something that I have to solve firtst.&lt;/P&gt;
&lt;P&gt;On the other hand, I'd like to ask you if you know how to do the same with Python or Java without using QLIKSense.NetSDK package. Else, don't worry, your help was great.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 11:17:30 GMT</pubDate>
    <dc:creator>LDR</dc:creator>
    <dc:date>2022-10-25T11:17:30Z</dc:date>
    <item>
      <title>Qlik Sense on Windows  - API - How to get apps list and data load script?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995335#M17442</link>
      <description>&lt;P&gt;Hi Qlikers,&lt;/P&gt;
&lt;P&gt;First at all I have to apologyze if I'm asking something too easy, at this moment it isn't for me. I'm trying to learn from zero how to use QS APIs and everything is new for me.&lt;/P&gt;
&lt;P&gt;My goal is to create an external script in order to obtain a list of apps from my QS environment and for each one, I want to get the content that you can see via Data Load Editor, the reason is because I want to know the different data sources that any app is using (QVDs, Excel files, tables from any database, etc.).&lt;/P&gt;
&lt;P&gt;I was able to do something similar developing a Qlik app but now I want to obtain this data via API. My first tests were using PowerShell. Let me show you my example:&lt;/P&gt;
&lt;P&gt;$hdrs = @{}&lt;BR /&gt;$hdrs.Add("X-Qlik-xrfkey","12345678qwertyui")&lt;BR /&gt;$hdrs.Add("X-Qlik-User","UserDirectory=DOMAIN; UserId=USER1")&lt;BR /&gt;$cert = Get-ChildItem -Path "Cert:\CurrentUser\My" | Where {$_.Subject -like '*QlikClient*'}&lt;BR /&gt;$url = "&lt;A href="https://QSHOST:4242/qrs/about?xrfkey=12345678qwertyui" target="_blank" rel="noopener"&gt;https://QSHOST:4242/qrs/about?xrfkey=12345678qwertyui&lt;/A&gt;"&lt;BR /&gt;Invoke-RestMethod -Uri $url -Method Get -Headers $hdrs -Certificate $cert&lt;/P&gt;
&lt;P&gt;It worked for me returning the output below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LDR_0-1666333638541.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91853i5D664E1F52338908/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LDR_0-1666333638541.png" alt="LDR_0-1666333638541.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The next step is to obtain the list of apps so I think that I need to change the method-type to POST, I mean something like that:&lt;/P&gt;
&lt;P&gt;$body = '{&lt;BR /&gt;"UserDirectory": "DOMAIN",&lt;BR /&gt;"UserId": "USER1",&lt;BR /&gt;"Attributes": [&lt;BR /&gt;{&lt;BR /&gt;"name": "GETAPPLIST",&lt;BR /&gt;"handle": "-1",&lt;BR /&gt;"method": "GetDocList",&lt;BR /&gt;"params": []&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}'&lt;BR /&gt;$hdrs = @{}&lt;BR /&gt;$hdrs.Add("X-Qlik-xrfkey","12345678qwertyui")&lt;BR /&gt;$hdrs.Add("X-Qlik-User","UserDirectory=DOMAIN;UserId=USER1")&lt;BR /&gt;$cert = Get-ChildItem -Path "Cert:\CurrentUser\My" | Where {$_.Subject -like '*QlikClient*'}&lt;BR /&gt;$url = "&lt;A href="https://QSHOST:4242/qrs/about?xrfkey=12345678qwertyui" target="_blank" rel="noopener"&gt;https://QSHOST:4242/qrs/about?xrfkey=12345678qwertyui&lt;/A&gt;"&lt;BR /&gt;Invoke-RestMethod -Uri $url -Method Post -Body $body -ContentType 'application/json' -Headers $hdrs -Certificate $cert&lt;/P&gt;
&lt;P&gt;In this case the result I'm obtaining is the next below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LDR_2-1666333959229.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91855i0AE41002BBA92490/image-size/large?v=v2&amp;amp;px=999" role="button" title="LDR_2-1666333959229.png" alt="LDR_2-1666333959229.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, my questions are:&lt;/P&gt;
&lt;P&gt;- Is it possible to do what I want via PowerShell? Can you show me any example? else what developing language you recommend me?&lt;/P&gt;
&lt;P&gt;Thanks for your time&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 14:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995335#M17442</guid>
      <dc:creator>LDR</dc:creator>
      <dc:date>2023-05-11T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995355#M17443</link>
      <description>&lt;P&gt;The GetDocList endpoint is part of the engine API which is not a REST API. The engine API is instead based on JSON RPC over websockets to make it more interactive, which means you will have to connect a websocket to the engine and send your messages there.&lt;/P&gt;&lt;P&gt;I don't have too much experience with doing this in PowerShell (as I typically turn to C# when doing stuff like this), but it's certainly possible to do so. This thread should give you some pointers as to how to proceed:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Integration-Extension-APIs/edit-script-load-editor-with-net-SDK/td-p/1755324" target="_blank"&gt;https://community.qlik.com/t5/Integration-Extension-APIs/edit-script-load-editor-with-net-SDK/td-p/1755324&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 07:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995355#M17443</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2022-10-21T07:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995356#M17444</link>
      <description>&lt;P&gt;Hey there&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/99769"&gt;@LDR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;To obtain such information via Powershell, I would recommend &lt;A href="https://github.com/ahaydon/Qlik-Cli-Windows" target="_self"&gt;Qlik-Cli-Windows&lt;/A&gt;&lt;BR /&gt;It already has many pre-configured functions, like the one to extract the list of applications in your environment&lt;BR /&gt;&lt;BR /&gt;For the script... As far as I know, there is no API that you can call from Powershell to obtain it; probably you would need to take a look at Engine APIs&lt;BR /&gt;Otherwise, through Powershell you should be able to require the logs of an application&lt;BR /&gt;&lt;BR /&gt;I hope this helps,&lt;BR /&gt;Riccardo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 07:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995356#M17444</guid>
      <dc:creator>rzenere_avvale</dc:creator>
      <dc:date>2022-10-21T07:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995501#M17445</link>
      <description>&lt;P&gt;Hi Oystein,&lt;/P&gt;
&lt;P&gt;If you'd have to query the app&amp;nbsp; list we have and get the script for each app what would be your approach? I mean, would you use C#? According your answer, can you tell me how is configured your developing environment?&lt;/P&gt;
&lt;P&gt;I'm asking you that becase I want to use the right tools for obtaining the data I need.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 11:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995501#M17445</guid>
      <dc:creator>LDR</dc:creator>
      <dc:date>2022-10-21T11:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995503#M17446</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50380"&gt;@rzenere_avvale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to ask you the same than to&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;&amp;nbsp;. If you would have to obtain the data I want how would you do it?&lt;/P&gt;
&lt;P&gt;Please, forget Powershell option. If I have to use C#, Java, Python, etc. I'll do it but I want to learn how it has to be done.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 11:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995503#M17446</guid>
      <dc:creator>LDR</dc:creator>
      <dc:date>2022-10-21T11:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995515#M17447</link>
      <description>&lt;P&gt;I'm not sure I understand exactly what end result you want, but if you want to access the scripts of all apps, then you could use an approach like the one below. It relies on the Qlik Sense .NET SDK for engine API access and QlikSenseRestClient for REST access.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// Get list of app IDs through REST endpoint.
var client = new RestClient(url);
client.AsApiKeyViaQcs(key);
var appItems = client.Get&amp;lt;JObject&amp;gt;($"/api/v1/items?resourceType=app")["data"].OfType&amp;lt;JObject&amp;gt;().ToArray();
var appIds = appItems.Select(item =&amp;gt; item["resourceId"].Value&amp;lt;string&amp;gt;());

// Get scripts for apps.
var location = QcsLocation.FromUri(url);
location.AsApiKey(key);

foreach (var appId in appIds)
{
    using var app = location.App(appId, noData: true);
    var script = app.GetScript();
    Console.WriteLine($"{appId} script length: {script.Length}");
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The two libraries are both available from NuGet:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nuget.org/packages/QlikSense.NetSDK/" target="_blank"&gt;https://www.nuget.org/packages/QlikSense.NetSDK/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.nuget.org/packages/QlikSenseRestClient/" target="_blank"&gt;https://www.nuget.org/packages/QlikSenseRestClient/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But if you are looking for ways to list data sources for apps, then you might want to have a look at the lineage endpoint to see if that gives you the information you need:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlik.dev/apis/rest/apps/#%23%2Fentries%2Fv1%2Fapps%2F-appId%2Fdata%2Flineage-get" target="_blank"&gt;https://qlik.dev/apis/rest/apps/#%23%2Fentries%2Fv1%2Fapps%2F-appId%2Fdata%2Flineage-get&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995515#M17447</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2022-10-21T12:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995566#M17448</link>
      <description>&lt;P&gt;Oh, sorry... Just realized the question concerned Client Managed, not QCS. In that case you could do something like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var location = Location.FromUri(url);
var certs = CertificateManager.LoadCertificateFromStore();
location.AsDirectConnection("INTERNAL", "sa_api", certs, false);

var appIds = location.GetAppIdentifiers();
foreach (var appId in appIds)
{
    using var app = location.App(appId, noData: true);
    var script = app.GetScript();
    Console.WriteLine($"{appId.AppId} script length: {script.Length}");
}&lt;/LI-CODE&gt;&lt;P&gt;And I think you should be able to get lineage data from the engine. I haven't really experimented with that feature yet tough. But you could try something like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var lineage = app.GetLineage();
Console.WriteLine(string.Join(Environment.NewLine, lineage.Select(l =&amp;gt; l.Discriminator)));&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 21 Oct 2022 13:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995566#M17448</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2022-10-21T13:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995920#M17449</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;&amp;nbsp;that was very helpful. I'm also starting with almost 0 knowledge of APIs and C# and had an identical request for QSE on Windows.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I combined the above loop example with&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Getting-started-with-the-NET-SDK/ta-p/1716231" target="_blank"&gt;Qlik Sense: Getting started with the .NET SDK - Qlik Community - 1716231&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-How-to-export-app-scripts/ta-p/1717436" target="_blank"&gt;Qlik Sense: How to export app scripts - Qlik Community - 1717436&lt;/A&gt;&amp;nbsp;(and a little Stack Overflow) to end up with the C# code below, which worked out.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Qlik;
using Qlik.Engine;

namespace ConsoleAppQlik
{
    internal class Program
    {
        static void Main(string[] args)
        {
            FileStream ostrm;
            StreamWriter writer;
            TextWriter oldOut = Console.Out;
            Uri uri = new Uri("https://qlikserver3.domain.local/"); //change to your server URL
            ILocation location = Qlik.Engine.Location.FromUri(uri);
            //location.AsNtlmUserViaProxy(proxyUsesSsl: true);
            using (var hub = location.Hub())
            {
                var appIds = location.GetAppIdentifiers();
                foreach (var appId in appIds)
                {
                    var app = location.App(appId, noData: true);
                    var script = app.GetScript();
                    Console.WriteLine($"{appId.AppName} - {appId.AppId} script length: {script.Length}");
                    try
                    {
                        //places files in C:\Users\Your_Name\source\repos\ConsoleAppQlik\ConsoleAppQlik\bin\Debug
                        ostrm = new FileStream($"./{DateTime.Now.ToString("yyyy-dd-M--HH-mm")} - {appId.AppName}.txt", FileMode.OpenOrCreate, FileAccess.Write);
                        writer = new StreamWriter(ostrm);
                    }
                    catch (Exception e)
                    {
                        Console.WriteLine("Cannot open Redirect.txt for writing");
                        Console.WriteLine(e.Message);
                        return;
                    }
                    Console.SetOut(writer);
                    Console.WriteLine(script);
                    Console.SetOut(oldOut);
                    writer.Close();
                    ostrm.Close();
                    Console.WriteLine($"{appId.AppName} script export complete.");
                };
                Console.WriteLine("Press enter to close...");
                Console.ReadLine();
            }
        }
    }
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 05:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1995920#M17449</guid>
      <dc:creator>jcartermd</dc:creator>
      <dc:date>2022-10-24T05:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1996561#M17454</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50380"&gt;@rzenere_avvale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your examples. I couldn't test them yet because my environment (MS Visual Stucio) is claiming when I try to execute. That's something that I have to solve firtst.&lt;/P&gt;
&lt;P&gt;On the other hand, I'd like to ask you if you know how to do the same with Python or Java without using QLIKSense.NetSDK package. Else, don't worry, your help was great.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1996561#M17454</guid>
      <dc:creator>LDR</dc:creator>
      <dc:date>2022-10-25T11:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1996565#M17455</link>
      <description>&lt;P&gt;There are no official libraries available for Java, but for JavaScript you can use Enigma:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/APIs/Content/Sense_ClientAPIs/enigmajs/enigmajs-introduction.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/APIs/Content/Sense_ClientAPIs/enigmajs/enigmajs-introduction.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There's also the platform-sdk where you have Python support, but that's primarily intended for QCS. I don't know if it's possible to also use it for client managed:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlik.dev/libraries-and-tools/platform-sdk" target="_blank"&gt;https://qlik.dev/libraries-and-tools/platform-sdk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1996565#M17455</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2022-10-25T11:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1997106#M17460</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm thinking that my fail was to think that any API service for Qlik could be queried by any solution and so far I have understood:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For topics related to QMC we can use QRS REST API. With this option we can't open an app and extract its script. With this option we can use tools like curl, Postman, etc. because websockets aren't necessary. Saying it in a different way: with QMC I can obtain a list of apps but I can't open each one and see its objects, etc.&lt;/LI&gt;
&lt;LI&gt;For topics related to apps we can use QPS API. Then we can open an app and extract its script, lineage, etc.. Whit this option we can't use curl, Postman, ... because we need to be able to create websockets. Then JS, .NET, ... are the options we have to use.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please, can you confirm me if I'm right.&lt;/P&gt;
&lt;P&gt;Thanks for your support&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 13:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1997106#M17460</guid>
      <dc:creator>LDR</dc:creator>
      <dc:date>2022-10-26T13:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1997147#M17461</link>
      <description>&lt;P&gt;I'd say your first bullet is correct, but the second one is rather inaccurate. First of all, QPS typically refers to the Qlik Proxy Service (QRS refers to Qlik Repository Service). Both QRS and QPS APIs are based on REST:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Introduction.htm" target="_self"&gt;Repository API&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/ProxyServiceAPI/Content/Sense_ProxyServiceAPI/ProxyServiceAPI-Introduction.htm" target="_self"&gt;Proxy API&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Websockets on the other hand, are required to interact with the Engine API:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2022/Subsystems/EngineAPI/Content/Sense_EngineAPI/introducing-engine-API.htm" target="_self"&gt;Engine API&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The use of websockets is not really tied to a particular technology, and in theory you should be able to use it from any language you want, but this API is somewhat more complicated than simply using REST, so having a library for interacting with it that takes care of the low level stuff highly simplifies things.&lt;/P&gt;&lt;P&gt;Mostly when working with APIs for the client managed version of Qlik Sense you will be interacting with the Repository API and/or the Engine API. The Repository API focuses on App environment like streams, owners, publish status etc, while the Engine API focuses on app contents like script, visualizations and bookmarks.&lt;/P&gt;&lt;P&gt;There is some overlap between the two (you can for instance change the title of an app from the QMC), but in general that is the distinction between the two.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 13:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1997147#M17461</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2022-10-26T13:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1997224#M17462</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok, thanks for making it more clear. So the summary could be if I want to work with the app content (script, lineage, ...) I have to play with the Engine API.&lt;/P&gt;
&lt;P&gt;Knowing that I'm going to improve my knowledge of JS and to try to play with Engine API and Enigma.js.&lt;/P&gt;
&lt;P&gt;Thanks a lot&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1997224#M17462</guid>
      <dc:creator>LDR</dc:creator>
      <dc:date>2022-10-26T16:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense on Windows (May 2022) - API - How to get apps list and data load script</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1999132#M17478</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/99769"&gt;@LDR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41242"&gt;@Øystein_Kolsrud&lt;/a&gt;&amp;nbsp; Engine API is the way to go, good thing is that code in .net C# can be used in PowerShell if you try to use/convert code from c#.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just wanted to provide the URL for QRS API as I noticed the method you are attempting to use doesn't have a body, probably you were looking for the app/full endpoint&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2022/APIs/RepositoryServiceAPI/index.html" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2022/APIs/RepositoryServiceAPI/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The documentation to our Engine API is found here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/EngineAPI/Content/Sense_EngineAPI/introducing-engine-API.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/EngineAPI/Content/Sense_EngineAPI/introducing-engine-API.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 15:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-on-Windows-API-How-to-get-apps-list-and-data-load/m-p/1999132#M17478</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2022-11-01T15:59:09Z</dc:date>
    </item>
  </channel>
</rss>

