Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rsuresh
Contributor II
Contributor II

Not able to get export task using export rest api using powershell

Hi Team,

I am trying to export task using export rest api but not able to export task using powershell.

I am trying to with the below command using powershell

$ExportResponse = Invoke-RestMethod -uri "https://qlikmanagerlab.cnppd.lab/attunityenterprisemanager/api/v1/servers/qlikreplicatelab/tasks/CIC..." -Headers $export_headers -Method 'GET' | ConvertTo-JSON | Set-Content "C:\Users\xt28034\Documents\sample1.json"

$outputfile = $ExportResponse | ConvertTo-JSON
Write-Output $outputfile

 =============================================

I am not able to get the output while executing the above command. please help me on this

 

 

Labels (1)
  • API

3 Replies
rzenere_avvale
Partner - Specialist II
Partner - Specialist II

Sorry @rsuresh , could you clarify from which product are you trying to export the tasks? Qlik Sense or...?

Riccardo

rsuresh
Contributor II
Contributor II
Author

We are using Qlik Enterprise Manager


rzenere_avvale
Partner - Specialist II
Partner - Specialist II

I would suggest to post in this area, which is dedicated to Qlik Enterprise Manager

Riccardo