What's new in Customer Journeys?

Connect and learn more!
Extract data via json "analyticsReportResults" — 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

Extract data via json "analyticsReportResults"

Received Response
edited May 23, 2018 5:02PM in Reporting & Analytics for B2C Service 5 comments


I am not able to extract data from a report using REST json.
Can someone help me?

Attached is the definition and result of the report.

I understand very little of REST and after consulting the documentation I did not make much progress.

The last url I tried was the following (using Postman software):

https: // (myUser): (myPass) @ (mySite) --tst2.custhelp.com/services/rest/connect/v1.4/analyticsReportResults/ (idReport)

* Header *
Key: OSvC-CREST-Application-Context
Value: header

* Body *
Key: lookup
Value: tst

The result of this call using "POST" was a syntax error.

Code Snippet

    "type": "https: // (mySite) --tst2.custhelp.com/services/rest/connect/exceptions/OSC-CREST-00011",
    "title": "Incorrect JSON syntax found in request",
    "status": 400,
    "detail": "JSON (JavaScript Object Notation) is a lightweight format for language-based text-based data interchange, defined by IETF RFC 7159, which can be found here: https: // tools.ietf org / html / rfc7159 The request violated the JSON syntax rules, making the request unreadable, correct the syntax errors, and try again. ",
    "instance": "https://equiplano--tst2.custhelp.com/services/rest/connect/v1.4/analyticsReportResults/100010",

Howdy, Stranger!

Log In

To view full details, sign in.


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