<?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 What filters are supported for GET /task endpoint? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/What-filters-are-supported-for-GET-task-endpoint/m-p/2445078#M20419</link>
    <description>&lt;P&gt;Hi Everyone&lt;/P&gt;
&lt;P&gt;I am doing some API integration where I want to retrieve the status of a reload task and I came across &lt;A title="GET /task" href="https://help.qlik.com/en-US/sense-developer/February2024/APIs/RepositoryServiceAPI/index.html?page=665" target="_blank" rel="noopener"&gt;GET /task&lt;/A&gt;&amp;nbsp;to get the results. I wanted to check how I can filter it for a particular task. The document doesn't have the supported filters. Can some one guide me on how can I get the results for a specific task and also what values are there for "status" field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sivanesan_0-1714099268293.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164751i50EECD355C19A4F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sivanesan_0-1714099268293.png" alt="Sivanesan_0-1714099268293.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Sivanesan&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 02:42:36 GMT</pubDate>
    <dc:creator>Sivanesan</dc:creator>
    <dc:date>2024-04-26T02:42:36Z</dc:date>
    <item>
      <title>What filters are supported for GET /task endpoint?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/What-filters-are-supported-for-GET-task-endpoint/m-p/2445078#M20419</link>
      <description>&lt;P&gt;Hi Everyone&lt;/P&gt;
&lt;P&gt;I am doing some API integration where I want to retrieve the status of a reload task and I came across &lt;A title="GET /task" href="https://help.qlik.com/en-US/sense-developer/February2024/APIs/RepositoryServiceAPI/index.html?page=665" target="_blank" rel="noopener"&gt;GET /task&lt;/A&gt;&amp;nbsp;to get the results. I wanted to check how I can filter it for a particular task. The document doesn't have the supported filters. Can some one guide me on how can I get the results for a specific task and also what values are there for "status" field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sivanesan_0-1714099268293.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164751i50EECD355C19A4F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sivanesan_0-1714099268293.png" alt="Sivanesan_0-1714099268293.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Sivanesan&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 02:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/What-filters-are-supported-for-GET-task-endpoint/m-p/2445078#M20419</guid>
      <dc:creator>Sivanesan</dc:creator>
      <dc:date>2024-04-26T02:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: What filters are supported for GET /task endpoint?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/What-filters-are-supported-for-GET-task-endpoint/m-p/2447202#M20453</link>
      <description>&lt;P&gt;Filters: Virtually any of the returned values (ref &lt;A href="https://help.qlik.com/en-US/sense-developer/February2024/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Filtering.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/February2024/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Filtering.htm&lt;/A&gt;). Examples:&lt;/P&gt;
&lt;P&gt;/qrs/task?filter=name eq 'Reload Operations Monitor'&lt;BR /&gt;/qrs/task?filter=enabled eq true&lt;/P&gt;
&lt;P&gt;The /full path provides a richer set of attributes to filter on moreover, I'd personally use /qrs/reloadtask/full for my filtering. Examples:&lt;/P&gt;
&lt;P&gt;/qrs/reloadtask/full?filter=app.stream.name eq 'Monitoring Apps'&lt;BR /&gt;/qrs/reloadtask/full?filter=app.published eq true&lt;BR /&gt;/qrs/reloadtask/full?filter=operational.lastExecutionResult.status ne 0&lt;/P&gt;
&lt;P&gt;The status value maps to the enum recorded at&amp;nbsp;/qrs/about/openapi/main. From a recent version:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;    "TaskExecutionStatus": {
      "type": "integer",
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14
      ],
      "x-enumNames": [
        "NeverStarted",
        "Triggered",
        "Started",
        "Queued",
        "AbortInitiated",
        "Aborting",
        "Aborted",
        "FinishedSuccess",
        "FinishedFail",
        "Skipped",
        "Retry",
        "Error",
        "Reset",
        "DistributionQueue",
        "DistributionRunning"
      ]
    }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 18:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/What-filters-are-supported-for-GET-task-endpoint/m-p/2447202#M20453</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2024-04-30T18:45:05Z</dc:date>
    </item>
  </channel>
</rss>

