<?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>article Qlik Sense Enterprise SaaS: Call a REST API endpoint (PowerShell) in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-SaaS-Call-a-REST-API-endpoint-PowerShell/ta-p/1800049</link>
    <description>&lt;P&gt;This is a sample of how to call a REST API in Qlik Sense Enterprise SaaS with PowerShell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To begin, an API key needs to be created which will be used to call the API, see the following tutorial:&lt;BR /&gt;&lt;A href="https://qlik.dev/tutorials/generate-your-first-api-key" target="_blank" rel="noopener" data-cke-saved-href="https://qlik.dev/tutorials/generate-your-first-api-key"&gt;https://qlik.dev/tutorials/generate-your-first-api-key&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All API endpoints available can be found at&amp;nbsp;&lt;A href="https://qlik.dev/apis" target="_blank" rel="noopener" data-cke-saved-href="https://qlik.dev/apis"&gt;https://qlik.dev/apis&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The URL used when calling the API should be &lt;FONT face="courier new,courier"&gt;https://{tenant name&lt;/FONT&gt; and&amp;nbsp;&lt;FONT face="courier new,courier"&gt;region}.qlikcloud.com/api/v1/{endpoint}&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

$hdrs = @{}
$hdrs.Add("Authorization","Bearer &lt;SPAN&gt;&lt;STRONG&gt;eyJhbGciOiJFUzM4NCIsImtpZ....moMC2G&lt;/STRONG&gt;&lt;/SPAN&gt;")
$url = "https://mytenant.eu.qlikcloud.com/api/v1/apps/adf40cb9-ecbf-41c0-bfd5-cdcfe89e0ae9"
Invoke-RestMethod -Uri $url -Method Get -Headers $hdrs&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 13:09:25 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2023-03-07T13:09:25Z</dc:date>
    <item>
      <title>Qlik Sense Enterprise SaaS: Call a REST API endpoint (PowerShell)</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-SaaS-Call-a-REST-API-endpoint-PowerShell/ta-p/1800049</link>
      <description>&lt;P&gt;This is a sample of how to call a REST API in Qlik Sense Enterprise SaaS with PowerShell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To begin, an API key needs to be created which will be used to call the API, see the following tutorial:&lt;BR /&gt;&lt;A href="https://qlik.dev/tutorials/generate-your-first-api-key" target="_blank" rel="noopener" data-cke-saved-href="https://qlik.dev/tutorials/generate-your-first-api-key"&gt;https://qlik.dev/tutorials/generate-your-first-api-key&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All API endpoints available can be found at&amp;nbsp;&lt;A href="https://qlik.dev/apis" target="_blank" rel="noopener" data-cke-saved-href="https://qlik.dev/apis"&gt;https://qlik.dev/apis&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The URL used when calling the API should be &lt;FONT face="courier new,courier"&gt;https://{tenant name&lt;/FONT&gt; and&amp;nbsp;&lt;FONT face="courier new,courier"&gt;region}.qlikcloud.com/api/v1/{endpoint}&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

$hdrs = @{}
$hdrs.Add("Authorization","Bearer &lt;SPAN&gt;&lt;STRONG&gt;eyJhbGciOiJFUzM4NCIsImtpZ....moMC2G&lt;/STRONG&gt;&lt;/SPAN&gt;")
$url = "https://mytenant.eu.qlikcloud.com/api/v1/apps/adf40cb9-ecbf-41c0-bfd5-cdcfe89e0ae9"
Invoke-RestMethod -Uri $url -Method Get -Headers $hdrs&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 13:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-SaaS-Call-a-REST-API-endpoint-PowerShell/ta-p/1800049</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2023-03-07T13:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Enterprise SaaS: Call a REST API endpoint (PowerShell)</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-SaaS-Call-a-REST-API-endpoint-PowerShell/tac-p/2045868#M8600</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28597"&gt;@Sonja_Bauernfeind&lt;/a&gt;&amp;nbsp; Thanks for this! I was able to successfully GET info but is it possible to get the actual data that the fields contain? I see the field names, data types, etc but not the data they contain. Is there a way to do that? Read data? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 19:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-SaaS-Call-a-REST-API-endpoint-PowerShell/tac-p/2045868#M8600</guid>
      <dc:creator>VC1258</dc:creator>
      <dc:date>2023-03-06T19:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Enterprise SaaS: Call a REST API endpoint (PowerShell)</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-SaaS-Call-a-REST-API-endpoint-PowerShell/tac-p/2046185#M8613</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/156690"&gt;@VC1258&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a bit out of scope for this article - I'd recommend posting this question in the appropriate forum. where you'll be able to get input from our support engineers and our active user base.&lt;/P&gt;
&lt;P&gt;The specific forum you'd be looking at is &lt;A href="https://community.qlik.com/t5/integration-extension-apis/bd-p/qlik-sense-integration-extension-api" target="_blank" rel="noopener"&gt;Integration Extension and APIs&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 13:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-SaaS-Call-a-REST-API-endpoint-PowerShell/tac-p/2046185#M8613</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2023-03-07T13:11:31Z</dc:date>
    </item>
  </channel>
</rss>

