Extract data via json "analyticsReportResults"
Content
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", "o:
Tagged:
1