Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there
I was wondering whether it is possible to populate Qlik Sense Users by reading a REST API endpoint? We have an application in which we have users, but we would like to give some of the users access to Qlik Sense. We can expose the user details (ID, Name and Attributes) using a REST API endpoint, but I am not sure if we will be able to create those users in Qlik Sense? The plan is to use the application together with a certificate to get tickets for these users, but I assume that we need to have the users available in Qlik Sense first (we want to use certain rules based on attributes).
The alternative we are considering is to have a Qlik Sense App consume that REST API and then writing the details to an Excel file which is the source of a Qlik Sense UD connector, but we would like to cut out the QS app and Excel file if possible (seems like we are creating unnecessary steps in the process).
Please let me know if anyone has done something like this or if you have any suggestions.
Regards,
Mauritz
Update: My Excel plan won't work as I cannot write/store data into an Excel file. Now I REALLY need suggestions 😉
Sure.
POST /qrs/user
Example body:
{
"customProperties": [],
"userId": "ltu",
"userDirectory": "APICREATEEXAMPLE",
"name": "Levi Turner",
"attributes": [
{
"attributeType": "Group",
"attributeValue": "DL-ExampleGroup",
"schemaPath": "User.Attribute"
}
],
"inactive": false,
"removedExternally": false,
"blacklisted": false,
"deleteProhibited": false,
"tags": [],
"privileges": null,
"schemaPath": "User"
}
Sure.
POST /qrs/user
Example body:
{
"customProperties": [],
"userId": "ltu",
"userDirectory": "APICREATEEXAMPLE",
"name": "Levi Turner",
"attributes": [
{
"attributeType": "Group",
"attributeValue": "DL-ExampleGroup",
"schemaPath": "User.Attribute"
}
],
"inactive": false,
"removedExternally": false,
"blacklisted": false,
"deleteProhibited": false,
"tags": [],
"privileges": null,
"schemaPath": "User"
}
Awesome as always! I'll only be able to test this tomorrow, but I am yet to be disappointed by one of your answers😉. Thanks Levi!
Hi @Levi
Is the endpoint still relevant. I am getting an error that endpoint doesn't exist.
Regards
Sivanesan