Skip to Content
0

Fetching Queries and Results from BO Restful Web services

Jan 18, 2017 at 12:23 PM

46

avatar image

Hi Team

When we execute below query, we are not getting any query list as output. We are able to access the Universe and Document details But the Data content of the document which is run from query is not available to download as output. Please advise.

public String query_sl(String method, String link, String format) throws Exception {

return query(method, biprws + "/sl/v1" + link, format, token, null);

}

// Get Query information

String que = connection.query_sl("GET", "/queries" , "application/json");

System.out.println(que);

System.out.println(que.length());

JSONArray queries = new JSONObject(que).getJSONObject("queries").getJSONArray("query");

Best Regards

Dhinesh Kumar Ganesan

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers