Can you please suggest how to optimize below code to fetch roxie queries related values properly IMPORT Std;
WUListQueriesResponse :- Is same as we get in layout .
QueryList := HTTPCALL('https://CCSssSDSDSGVVXX/WsWorkunits/WUListQueries?ver_=1.95& ', 'GET', 'application/json', WUListQueriesResponse, XPATH('/WUListQueriesResponse'), HTTPHEADER('Authorization','BASIC XXXXXXXX') ); QueryList;
Output the above BWR. getting below error . Error: Error - syntax error "Expecting "{ or ["" [file offset 1] <?ERRORxml version="1.0" encoding="UTF-8"?><WUListQueriesResponse><NumberOfQueries>79https://XXCVVdshdnet:18010/WsWorkunits/WUListQueries?ver_=1.95& (in HTTP dataset 2) (0, 0), 2,