Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I have used the instructions in a pdf "How to use Qlik NPrinting APIs inside a Qlik Sense load script" to create a script according to my needs. I`m facing 2 issues:
#1: I'm not able to get all users via the below stated list. I just get some of them. The original list of users is being imported from an Excel file. Any clue why not able to retrieve all of them (I get random 50 out of 205)?
// Get User with "usera" email
RestUserMasterTable:
SQL SELECT
"__KEY_data",
(SELECT
"id",
"email",
"__FK_items"
FROM "items" FK "__FK_items")
FROM JSON (wrap off) "data" PK "__KEY_data"
WITH CONNECTION( URL "https://nprintingserver.domain.com:4993/api/v1/users", HTTPHEADER "cookie" "$(vCookie)" );
#2: Is there a way to retrieve the user detail named as "Nickname" ? I haven't found any instructions about this yet. In final, I would like to update via API the "Nickname" for a group of users.
Ok, have figured out the issue with #1, have to add the parameter: QUERY "limit" "250",
Hi,
regarding API reference always refer to https://help.qlik.com as you can choose there version of software you are using and it demonstrates API capibilities.
for example:
https://help.qlik.com/en-US/nprinting/September2018/APIs/NP+API/index.html#usersGet
to answer your question:
As of now API does not support nicknames. Supported fields are listed in reference document
cheers
Lech
--------------------------------------------
When applicable please mark the appropriate replies as CORRECT https://community.qlik.com/docs/DOC-14806. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.