Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
AnneVo
Contributor II
Contributor II

Documentation on aemctl command

We need to create Windows script to perform action on Qlik Replicate from AEM in batch, instead of web-console.  One example is the  export of task with the option "without-endpoint" (not available using Replicate command repctl).   Where can I find a complete description/usage of aemctl command syntax ?

Labels (1)
6 Replies
Steve_Nguyen
Support
Support

@AnneVo,

 

i believe that you are looking for the AEM API information :

 

https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_A...

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!
AnneVo
Contributor II
Contributor II
Author

@Steve_Nguyen I find API requires programming skillsets, more complex than VB script on Windows.   Would you have a sample script with how-to execute it on Windows ?  I need to export tasks (without endpoints) from non-prod QRS, apply some environmental conversion to naming standards using Powershell (already) written, and import into Prod QRS.    Repctl export json include endpoints which override the target server endpoints definitions hence invalidate them !

lyka
Support
Support

Hello,

 

Here is a curl example for exporting task

CURL.EXE -i -k --header "EnterpriseManager.APISessionID: wCo0_KvjEUFROvfHF5KGrw" https://computer.network.net/attunityenterprisemanager/api/v1/servers/ myrepsrv1/tasks/SalesDBBackup?action=export

https://help.qlik.com/en-US/enterprise-manager/November2021/Content/EnterpriseManager/EnterpriseMana...

 

Thanks

Lyka

Steve_Nguyen
Support
Support

@AnneVo,

 

here is another forum similar to your question:

 

https://community.qlik.com/t5/Qlik-Enterprise-Manager/Do-you-plan-to-release-an-API-for-Creating-TAS...

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!
AnneVo
Contributor II
Contributor II
Author

@lyka Can you give me a sample .bat file that can be launched from Windows command shell to call QEM API to export a task without endpoint and store the json file in a specific Windows folder ?

Thank you

Steve_Nguyen
Support
Support

@AnneVo

 

i am not a script expert but your .bat file would be something like

---

clear

where the curl command location ~> CURL.EXE -i -k --header "EnterpriseManager.APISessionID: wCo0_KvjEUFROvfHF5KGrw" https://computer.network.net/attunityenterprisemanager/api/v1/servers/ myrepsrv1/tasks/SalesDBBackup?action=export > c:\temp\anyname.json.

exit 0

 

 

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!