1 Reply Latest reply: Aug 2, 2016 3:02 AM by Sumit Kumar RSS

    Calling Qlik Api using jsonrpc call from Java

    Sumit Kumar

      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.