Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
shubham121
Contributor
Contributor

Want to trigger qlik replicate using python script

Hi Folks,

 

I developed a project in qlik replicate. I accessed qlik replicate  using a web URL and developed my project there.

I want to trigger that qlik replicate job using python script.

Upon investigation i understood, i need to run below 2 APIs from QEM API documentation.

1. Login

2. runTaks

I understood from login API i will get APISessionId and it will be used while calling runTask.

 

While calling login API i am not getting APISessionId. i am getting session_code = 200 but no APISessionId is returned. PSB the response:

HTTP/2 200
date: ******** 
content-type: text/html; charset=utf-8
content-length: 2518
x-frame-options: DENY
strict-transport-security: max-age=15724800; includeSubDomains
cache-control: no-store
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-ingress: MWC

 

My Doubts are:
for login API i am using below URL:


https://{host}/attunityenterprisemanager/api/v1/login

 

1. is {host} same is qlik cloud URL?? or its QEM URL?
2. Do i need to install QEM first to call its APIs.

 

Let me know if further inofrmation needed

 

Labels (1)
1 Reply
Heinvandenheuvel
Specialist III
Specialist III

Your question is perhaps better placed in the dedicated forum:

https://community.qlik.com/t5/Qlik-Enterprise-Manager/bd-p/qlik-enterprise-manager-discussions

>> x-frame-options: DENY

That doesn't sound good.

>> 1. is {host} same is qlik cloud URL?? or its QEM URL?

Host is the host where Qlik/Attunity Enterprise Manager is installed, which may be the same as the Replicate server, but does not have to be.


>> 2. Do i need to install QEM first to call its APIs.

Yes. Duh!?!