Connecting with Postman

Postman is a Google Chrome App for constructing and sending REST requests. You can use Postman to explore the Qlik Sense Repository Service (QRS) API.

This example shows how to connect to the QRS API and retrieve a list of apps in JSON format. Because we are using Windows authentication, we send the request via the QPS URL.

  1. Install Postman from http://www.getpostman.com/ and start the tool.
  2. Set the HTTP method to GET.
  3. Enter the URL to the computer where QPS is installed plus the following path in the URL area:
    /qrs/app/full

    The full URL should look something like: https://qps.computer.name.com/qrs/app/full.

  4. Select Params and add an entry for the Xrfkey parameter and a 16 character string as the value.
  5. Select Headers and add an entry for the X-Qlik-Xrfkey header using the same 16 character string as in the previous step.
  6. Click Send.
  7. The JSON response from the API is displayed. It should look something like this:

    [
      {
        "id": "d256f28d-8b8f-4454-82f9-ba5ceb925923",
        "createdDate": "2016-05-26T17:01:35.867Z",
        "modifiedDate": "2016-06-01T20:07:30.792Z",
        "modifiedByUserName": "INTERNAL\\sa_scheduler",
        "customProperties": [],
        "owner": {
          "id": "5069e2f9-2845-443c-b8ae-18265f6552de",
          "userId": "sa_repository",
          "userDirectory": "INTERNAL",
          "name": "sa_repository",
          "privileges": null
        },
        "name": "Operations Monitor",
        "appId": "",
        "publishTime": "2016-05-26T17:01:49.159Z",
        "published": true,
        "tags": [],
        "description": "The Operations Monitor 2.3.0 provides information about the Qlik Sense server environment, including: server memory and CPU usage, active users, task reloads, and errors and warnings.",
        "stream": {
          "id": "a70ca8a5-1d59-4cc9-b5fa-6e207978dcaf",
          "name": "Monitoring apps",
          "privileges": null
        },
        "fileSize": 524284,
        "lastReloadTime": "2016-06-01T20:07:29.815Z",
        "thumbnail": "/appcontent/d256f28d-8b8f-4454-82f9-ba5ceb925923/Qlik_Images/Operations_Monitor_Thumbnail.png",
        "savedInProductVersion": "2.11.0",
        "migrationHash": "f38ec476ce7db3399f32ad2cd70df0db31d06643",
        "dynamicColor": "",
        "availabilityStatus": 0,
        "privileges": null,
        "schemaPath": "App"
      },
    				
    ...
    								
      }
    ]