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: 
aaron_ppmc
Partner - Contributor III
Partner - Contributor III

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
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

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.

View solution in original post

5 Replies
blaise
Partner - Specialist
Partner - Specialist

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.

aaron_ppmc
Partner - Contributor III
Partner - Contributor III
Author

i think i will ask qlik via support case

i'm using NP Apr-18

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

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
Contributor
Contributor

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

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

Damien_Villaret
Support
Support

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.

If the issue is solved please mark the answer with Accept as Solution.