Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Highlighted
Partner
Partner

Trigger Nprinting Import Task via Rest API

Hy Community,

has anyone a idea how to trigger a recipient import Task in Nprinting via api.

Following Error:

08-05-2018 11-14-17.png

Import Task ID:

08-05-2018 11-16-33.png

Thanks in advance

br Aaron

1 Solution

Accepted Solutions

Re: Trigger Nprinting Import Task via Rest API

recipient import task trigger via API is not supported!

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
5 Replies
Partner
Partner

Re: Trigger Nprinting Import Task via Rest API

I've just tried and was also unsuccessful (400 - Not found).

The connection string i used (QvRestConnector 1.3) workes fine for a publish task so I guess that the POST /Tasks/{id}/Executions does NOT work for import tasks.

Running NP Feb-18

Update 1:

A GET does return the same error code.

Update 2:

The GET /Tasks does only return publishTask.


Conclusion:

All Tasks endpoint are publish task only.

Partner
Partner

Re: Trigger Nprinting Import Task via Rest API

i think i will ask qlik via support case

i'm using NP Apr-18

Re: Trigger Nprinting Import Task via Rest API

recipient import task trigger via API is not supported!

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
barneysmith
New Contributor

Re: Trigger Nprinting Import Task via Rest API

Is there any idea on if/when this will be added?

Is there an alternative to manually running imports as and when necessary?

Support
Support

Re: Trigger Nprinting Import Task via Rest API

Unfortunately, there is currently no timeline for when this will be implemented in the product.

As a temporary workaround, you can use the private API as in below knowledge base article.

https://support.qlik.com/articles/000073279

Please be aware that private APIs are not officially supported (Qlik Support does not provide support for problems you may encounter using those) and this can be removed/modified without any notice by R&D between different versions so there is no guarantee that it keeps working after an upgrade, you would need to test them after each NPrinting upgrade.