Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
danielgarciamej
Contributor II
Contributor II

Create task in NPrinting via API

Hi

We are evaluating the possibility of automatically creating reports in Qlik NPrinting through API calls using an external system (CRM Dynamics example)

To achieve this, we should be able to create automatically and through API calls or similar:
1) Filters
2) Task: Defining recipient, conditions, report, filters, etc.

After reading the documentation (https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html) I have not found any possible method to do what I am looking for.

Has anyone mounted a similar system or know if it is possible?

Thank you so much.

Labels (2)
1 Solution

Accepted Solutions
Ruggero_Piccoli
Support
Support

Hi,

The documented methods are all the methods that are now available. So you can create filters via APIs with https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=23 but you cannot create task at the moment (latest version is November 2020). You can run a task via API https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=51.

You could add the new feature request here https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas to add a new API to create publish tasks.

Best Regards,

Ruggero  



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.

View solution in original post

2 Replies
Ruggero_Piccoli
Support
Support

Hi,

The documented methods are all the methods that are now available. So you can create filters via APIs with https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=23 but you cannot create task at the moment (latest version is November 2020). You can run a task via API https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=51.

You could add the new feature request here https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas to add a new API to create publish tasks.

Best Regards,

Ruggero  



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
blaise
Partner - Specialist
Partner - Specialist

You can create all entities with API but you have to use unsupported ones (/now endpoint).

Easiest way to find out is to bring up dev console when creating the stuff through bringing web console. The npe endpoints can be used just like the standard ones after you successfully authenticated with standard api, just supply the same cookie (and other needed parameters) just as you would have done with the standard endpoint.