What's new in Customer Journeys?

Connect and learn more!
ROQL result fetching as text instead of count(desired output) — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ROQL result fetching as text instead of count(desired output)

Accepted answer
edited Jun 13, 2022 4:13AM in General Technical Discussions 6 comments


Hi All, Our ROQL query is working fine in postman (testing tool) but we want to use this ROQL in BUI using javascript, where we are getting response as a string text instead of the desired output.


Also, in Postman 'Get' method, headers, authorization is provided manually.
For using 'Get' method in javascript, we have used Connect Rest API as follows -
function countROQL(restUrl, sessionID, fname, lname, contID, email, brand)
console.log(restUrl + ' |-| ' + sessionID + ' |-| ' + fname +' |-| ' + lname + ' |-| ' + contID +' |-| ' + email + ' |-| ' + brand);
var ajaxUrl = restUrl + 

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!