<?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: OpenAPI Reload Task - ReloadTaskCondensed in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/OpenAPI-Reload-Task-ReloadTaskCondensed/m-p/2138753#M19506</link>
    <description>&lt;P&gt;Thanks for the reply, I'll have a look at the script.&lt;/P&gt;
&lt;P&gt;My main aim is to have a typed client based off the&amp;nbsp;Open API specification for Repository Main API instead of creating our own versions of the JSON objects that will need to be maintained.&lt;/P&gt;
&lt;P&gt;I'm using Open API Tools Open API Generator &lt;A href="https://github.com/OpenAPITools/openapi-generator" target="_blank"&gt;https://github.com/OpenAPITools/openapi-generator&lt;/A&gt; to generate the client types and the Open API specification for Repository Main API differs from the example code e.g. not having an App on ReloadTaskCondensed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2023 10:23:00 GMT</pubDate>
    <dc:creator>Cynicszm</dc:creator>
    <dc:date>2023-11-17T10:23:00Z</dc:date>
    <item>
      <title>OpenAPI Reload Task - ReloadTaskCondensed</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/OpenAPI-Reload-Task-ReloadTaskCondensed/m-p/2132091#M19368</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are attempting to use the Open API specification for Repository Main API version: 38.32.0 to create a Reload Task as shown here &lt;A href="https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=1247" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=1247&lt;/A&gt; &lt;/P&gt;
&lt;DIV class="row header"&gt;
&lt;DIV class="col-6 mega-logo"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="row"&gt;
&lt;DIV class="col-12"&gt;
&lt;DIV class="version"&gt;The example request body specifies a Task and App.&lt;/DIV&gt;
&lt;DIV class="version"&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2023/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Reload-Task-Create.htm#anchor-1" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2023/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Reload-Task-Create.htm#anchor-1&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="version"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="version"&gt;&lt;LI-CODE lang="javascript"&gt;{
   "task": {"app": {
      "id": "bda74c3e-c7e6-4154-845a-139ad7c07390"
      },
      "name": "Reload task for app xyz"
   },
   "compositeEvents": [ ],
   "schemaEvents":[]
}&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV class="version"&gt;The API specifies the Request Body should be a ReloadTaskBundle &lt;A href="https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=1841" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=1841&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="version"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="version"&gt;The ReloadTaskBundle has a Task member defined as a ReloadTaskCondensed &lt;A href="https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=1843" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=1843&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="version"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="version"&gt;However there isn't an App member on ReloadTaskCondensed.&lt;/DIV&gt;
&lt;DIV class="version"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="version"&gt;So is the API definition wrong and the ReloadTaskBundle Task should be a ReloadTask instead of a ReloadTaskCondensed or what Model should I be using to create the Reload Task?&lt;/DIV&gt;
&lt;DIV class="version"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="version"&gt;Thanks,&lt;/DIV&gt;
&lt;DIV class="version"&gt;John&lt;/DIV&gt;
&lt;DIV class="version"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="version"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Oct 2023 10:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/OpenAPI-Reload-Task-ReloadTaskCondensed/m-p/2132091#M19368</guid>
      <dc:creator>Cynicszm</dc:creator>
      <dc:date>2023-10-26T10:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: OpenAPI Reload Task - ReloadTaskCondensed</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/OpenAPI-Reload-Task-ReloadTaskCondensed/m-p/2138743#M19500</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/250945"&gt;@Cynicszm&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you haven't solved this...&lt;/P&gt;
&lt;P&gt;There are a few components that differ depending on the task type, triggers, etc. You may want to take a look at how the functions in qlik-cli-windows do this, as it shows the payloads and the endpoints -&amp;nbsp;&lt;A href="https://github.com/ahaydon/Qlik-Cli-Windows/blob/master/resources/task.ps1" target="_blank"&gt;https://github.com/ahaydon/Qlik-Cli-Windows/blob/master/resources/task.ps1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 10:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/OpenAPI-Reload-Task-ReloadTaskCondensed/m-p/2138743#M19500</guid>
      <dc:creator>Dave_Channon</dc:creator>
      <dc:date>2023-11-17T10:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: OpenAPI Reload Task - ReloadTaskCondensed</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/OpenAPI-Reload-Task-ReloadTaskCondensed/m-p/2138753#M19506</link>
      <description>&lt;P&gt;Thanks for the reply, I'll have a look at the script.&lt;/P&gt;
&lt;P&gt;My main aim is to have a typed client based off the&amp;nbsp;Open API specification for Repository Main API instead of creating our own versions of the JSON objects that will need to be maintained.&lt;/P&gt;
&lt;P&gt;I'm using Open API Tools Open API Generator &lt;A href="https://github.com/OpenAPITools/openapi-generator" target="_blank"&gt;https://github.com/OpenAPITools/openapi-generator&lt;/A&gt; to generate the client types and the Open API specification for Repository Main API differs from the example code e.g. not having an App on ReloadTaskCondensed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 10:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/OpenAPI-Reload-Task-ReloadTaskCondensed/m-p/2138753#M19506</guid>
      <dc:creator>Cynicszm</dc:creator>
      <dc:date>2023-11-17T10:23:00Z</dc:date>
    </item>
  </channel>
</rss>

