Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
johnmad
Contributor
Contributor

How do I import an API (Trackunit IRIS with token) into Qlik

I need to bring data from Trackunit into Qlik via an API. I have received a token and tried via the rest connection but with no success.

 

Labels (1)
1 Reply
jprdonnelly
Employee
Employee

@johnmad,

A REST connection will behave quite differently in Qlik Sense apps, using the REST connector, compared to a traditional ODBC (or similar) data connection.

Each REST API should have a published definition that explains how to interface with it, so the values you apply in your load script will be subject to that particular API's spec.

Best practice with a Sense connection would be to define an always "OK" URL in the connection definition (HTTP 200), and then utilize the WITH CONNECTION keyword (phrase?) to add the specific QUERY/HEADER/BODY/URL for each "table" you want to load.

Note that the REST connector will only accept JSON, XML and CSV response types; however, this should not be a concern while utilizing compliant REST APIs. The connector allows for both GET and POST methods, which combined with the JSON response type should be enough to consume data from the Trackunit IRIS APIs.

This statement about the Trackunit IRIS APIs is based on a cursory review of their documentation and experience with other similar REST APIs such as those of Qlik Cloud and not based on any support by Qlik or personal experience with Trackunit IRIS APIs.

Hope this helps clarify things a bit 🙂

Cheers!

- @jprdonnelly