Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Calling Qlik Api using jsonrpc call from Java

I am calling Qlik method for getTableData() from Qlik Engine API from my server location.


URL it given it is returning me while execute method from QlikEngineApi

     "ws://192.168.1.65:4848/virproxy/app/344da3fc-0301-418f-8e04-0577b46adddd?reloadUri=http://192.65.1.65:4848/virproxy/dev-hub/engine-api-explorer?qlikTicket=pChuw.bKVDaOeK4y"


This is the JSON Request it is passing while execute method:

{

  "handle": 1,

  "method": "GetTableData",

  "params": {

  "qOffset": 0,

  "qRows": 100,

  "qSyntheticMode": false,

  "qTableName": "Customer Good Sales DataFinalSalesRep"

  },

  "id": 8,

  "jsonrpc": "2.0"

}

Problem is it is on Server Location and when I usually call APIs from my Server it ask me for Authentication Parameters.

Now I am calling above URL from external Application using Json-RPC  from my local server.

Problem i am facing is i don't what Server URL i need to pass to hit my Qlik Server and how to pass Authentication Parameters with URL.

Please tell me from above URL what i need to pass in my application and how to pass Username and Password Authentication Details with URL.

1 Reply
Anonymous
Not applicable
Author

It is possible with Web Sockets. Qlik has it web sockets configured at its end,we can simply create connection with Qlik sense application and pass the Json request to Qlik.