Example of calling analyticsReportResult API
Content
Hi everybody,
I need to call analyticsReportResult POST API from bui code,
I have the values of the parameters, and the call works if I use Postman, but from the bui code it doesnt work and returns a failed or a canceled status.
when I put a breakpoint I can see that this : if (this.readyState === 4 && this.status === 200), doesn't even happened.
I would be thankful if you will be able to help me solve it.
the function is attached below.
Code Snippet
function changeName() { var url = "https://rnowgse00057.rightnowdemo.com/services/rest/connect/v1.4/analyticsReportResults"; var data = { "id":13118 // the id of the table that I want to get }; var xhr = new XMLHttpRequest();
0