Skip to main content

Postman: A simple ticket request (Qlik Sense Proxy API)

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Damien_Villaret
Support
Support

Postman: A simple ticket request (Qlik Sense Proxy API)

Last Update:

Jun 17, 2021 11:03:51 AM

Updated By:

Jin_Park

Created date:

Feb 18, 2017 9:18:47 AM

This article describes how to get a ticket for the specified user with Proxy API.

For Postman configuration, please refer to QRS API using Xrfkey header in Postman.

 

Resolution:

 

Request: POST https://qlikserver1.domain.local:4243/qps/meteor/ticket?xrfkey=iX83QmNlvu87yyAB

Headers: 
X-Qlik-User needs to be a root admin account in Qlik Sense 
1.png

Request Body:

 

 

 

 

{
  "UserDirectory": "DOMAIN",
  "UserId": "user1",
  "Attributes": [
    {
      "group": "value1a"
    }]
}

 

 

 

 




Response:


2.png

Test the generated ticket

In order to test the generated ticket, just go to your browser and open:
https://{qlik sense server name}/{virtual proxy prefix}/hub?QlikTicket={ticket number}

In our example, it will be:
https://qlikserver1.domain.local/meteor/hub?QlikTicket=LltGyReYDgmuTCWX

*Make sure that you are not already logged in. If you are already logged and send a ticket in the URL, it will simply be ignored.
*The ticket must be consumed within 60 seconds.

Labels (1)
Version history
Last update:
‎2021-06-17 11:03 AM
Updated by: