<?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: REST API Import and Export Task in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Import-and-Export-Task/m-p/1724276#M309</link>
    <description>Hi,&lt;BR /&gt;Are you trying to move tasks between environments?</description>
    <pubDate>Thu, 02 Jul 2020 03:18:01 GMT</pubDate>
    <dc:creator>Huey</dc:creator>
    <dc:date>2020-07-02T03:18:01Z</dc:date>
    <item>
      <title>REST API Import and Export Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Import-and-Export-Task/m-p/1722497#M294</link>
      <description>&lt;P&gt;I am reviewing the QEM Dev Guide PDF and I got confused with Import and Export Task. Here are the URLs:&lt;/P&gt;&lt;P&gt;Import Task&lt;/P&gt;&lt;P&gt;&lt;A href="https://{Host}/attunityenterprisemanager/api/v1/servers/{ServerName}/tasks/{task}?action=import" target="_blank"&gt;https://{Host}/attunityenterprisemanager/api/v1/servers/{ServerName}/tasks/{task}?action=import&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Export Task&lt;/P&gt;&lt;P&gt;&lt;A href="https://{Host}/attunityenterprisemanager/api/v1/servers/{ServerName}/tasks/{TaskName}?action=export&amp;amp;withendpoints={withendpoints}" target="_blank"&gt;https://{Host}/attunityenterprisemanager/api/v1/servers/{ServerName}/tasks/{TaskName}?action=export&amp;amp;withendpoints={withendpoints}&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So my question is I am not sure where to indicate the destination server. For example, if I want to deploy a Task1 in DEV to PROD, and I want to use Import task. the {ServerName} is the DEV server, right? then the {TaskName} is Task1. So how should I indicate that Task1 will be imported to PROD? or the API will automatically import it to PROD when I run the URL? Also what if I have 3 replicate servers (DEV, STG, PROD)? How will the API know that I want to deploy Task1 from DEV to STG first? I just think the url is missing the target server name. or am I missing something here? Please advise. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 09:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Import-and-Export-Task/m-p/1722497#M294</guid>
      <dc:creator>Jet</dc:creator>
      <dc:date>2020-06-26T09:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Import and Export Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Import-and-Export-Task/m-p/1722677#M301</link>
      <description>&lt;P&gt;Look at the example in the user guide for 'import' and also the list of 'request parameters'. the parameter 'Body' will enable you to supply the physical copy of the JSON that you want to import in the target server. You will use the export API to get this physical JSON and save it in a staging location. This is by design and best practice as you wouldn't want to open firewalls between dev and prod, also establish source code control etc. in your environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fvi_0-1593190456835.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36379i929D9E8EEB4C2885/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fvi_0-1593190456835.png" alt="fvi_0-1593190456835.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 16:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Import-and-Export-Task/m-p/1722677#M301</guid>
      <dc:creator>JitenderR</dc:creator>
      <dc:date>2020-06-26T16:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Import and Export Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Import-and-Export-Task/m-p/1724276#M309</link>
      <description>Hi,&lt;BR /&gt;Are you trying to move tasks between environments?</description>
      <pubDate>Thu, 02 Jul 2020 03:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Import-and-Export-Task/m-p/1724276#M309</guid>
      <dc:creator>Huey</dc:creator>
      <dc:date>2020-07-02T03:18:01Z</dc:date>
    </item>
  </channel>
</rss>

