<?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: QRS API property availabilityStatus in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112319#M1538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Levi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My end-goal is to &lt;SPAN lang="en"&gt;determine the status of a particular application. In other words, know if it is available for the user to open. When there is no running engine available, this condition has to be detected. The property 'availabilityStatus' delivers this status.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I managed to do this in Curl and it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;curl -v -L --ntlm --negotiate -u User:Pass --insecure &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ServerName/api/hub/v0/apps/" rel="nofollow" target="_blank"&gt;https://ServerName/api/hub/v0/apps/&lt;/A&gt;&lt;SPAN&gt;{id} --header "User-Agent: Windows"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only it works through the Proxy ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2018 18:39:03 GMT</pubDate>
    <dc:creator>francisco_rivas</dc:creator>
    <dc:date>2018-09-27T18:39:03Z</dc:date>
    <item>
      <title>QRS API property availabilityStatus</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112313#M1532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been interacting with the QSR API through CURL or Postman and I have been able to connect without problems. When I was reviewing the endpoints, I find that there is an API called App: Get hub information which determines the value of a property called 'availabilityStatus'. This property, according to the documentation, has different states of the application, so it is useful when knowing its availability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, at the time of executing the API, it always returns the value zero (0) and there is no way to return status 1, which is when the application is fine. I have also tried downloading the Engine service so that it returns me status 2 but neither does it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the documentation, when the application is recovered via GET, the 'AvailabilityStatus' values are always zero (0). But I do not understand how to call the API in another way so that it returns the correct values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documentation:&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-App-Get-Hub-Info.htm" title="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Get-Hub-Info.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;Thank you for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 17:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112313#M1532</guid>
      <dc:creator>francisco_rivas</dc:creator>
      <dc:date>2018-09-26T17:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API property availabilityStatus</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112314#M1533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Hi,&lt;/P&gt;&lt;P&gt;You could try the hublist:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Get-Hub-List.htm" title="https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Get-Hub-List.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;Erik Wetterberg&lt;/P&gt;&lt;P&gt;&lt;A href="https://extendingqlik.upper88.com/" title="https://extendingqlik.upper88.com/"&gt;https://extendingqlik.upper88.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 19:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112314#M1533</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-09-26T19:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API property availabilityStatus</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112315#M1534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the hublist (which is a GET Method) returns the '&lt;SPAN class="Code" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;availabilityStatus&lt;/SPAN&gt;' equal to zero (0). Maybe it's the way to call the property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried this functionality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 21:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112315#M1534</guid>
      <dc:creator>francisco_rivas</dc:creator>
      <dc:date>2018-09-26T21:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API property availabilityStatus</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112316#M1535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No I haven't, I use /qrs/app/full for listing apps. It looks like the Qlik Sense hub uses /api/hub/v0/apps, which I don't beleive is public, but it does seem to include availabilityStatus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;P&gt;&lt;A href="https://extendingqlik.upper88.com/" title="https://extendingqlik.upper88.com/"&gt;https://extendingqlik.upper88.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 08:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112316#M1535</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-09-27T08:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API property availabilityStatus</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112317#M1536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how do you use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;/api/hub/v0/apps ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ec2amaz-qgmf5v5:4242/qrs/hub/v0/app/?Xrfkey=0123456789abcdef" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" title="https://ec2amaz-qgmf5v5:4242/qrs/hub/v0/app/?Xrfkey=0123456789abcdef"&gt;https://ServerName:4242/api/hub/v0/app/?Xrfkey=0123456789abcdef&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 12:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112317#M1536</guid>
      <dc:creator>francisco_rivas</dc:creator>
      <dc:date>2018-09-27T12:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API property availabilityStatus</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112318#M1537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That endpoint needs to go through the Proxy unfortunately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this works using Qlik-CLI:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15380687158097642" jivemacro_uid="_15380687158097642"&gt;
&lt;P&gt;$Data = Get-Content C:\ProgramData\Qlik\Sense\Host.cfg&lt;/P&gt;
&lt;P&gt;$FQDN = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($($Data)))&lt;/P&gt;
&lt;P&gt;Connect-Qlik -Computername $($FQDN) -UseDefaultCredentials&lt;/P&gt;
&lt;P&gt;Invoke-QlikGet -path /api/hub/v0/apps&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your end-goal? To determine which apps are load balanced to the Engines bound to a particular virtual proxy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 17:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112318#M1537</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2018-09-27T17:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API property availabilityStatus</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112319#M1538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Levi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My end-goal is to &lt;SPAN lang="en"&gt;determine the status of a particular application. In other words, know if it is available for the user to open. When there is no running engine available, this condition has to be detected. The property 'availabilityStatus' delivers this status.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I managed to do this in Curl and it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;curl -v -L --ntlm --negotiate -u User:Pass --insecure &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ServerName/api/hub/v0/apps/" rel="nofollow" target="_blank"&gt;https://ServerName/api/hub/v0/apps/&lt;/A&gt;&lt;SPAN&gt;{id} --header "User-Agent: Windows"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only it works through the Proxy ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 18:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-property-availabilityStatus/m-p/112319#M1538</guid>
      <dc:creator>francisco_rivas</dc:creator>
      <dc:date>2018-09-27T18:39:03Z</dc:date>
    </item>
  </channel>
</rss>

