In this URL: https://.salesforce.com/servlet/servlet.ReportList

I get a list on reports, example:

enter image description here

but... how i can acces to one specific report by ID?

My objetive is print a specific report in my application.

  • You can get json easily, why xml ?
    – Ayub
    Jan 28, 2020 at 10:23
  • yes, with $reportsxml = simplexml_load_string($data);
    – Fran Bedia
    Jan 28, 2020 at 10:28
  • It does not answer my que. Analtycs api of salesforce provides response in json, you can digest the reponse in json and use it ...easily.
    – Ayub
    Jan 28, 2020 at 10:30
  • ummm i dont know how to do it :/ can you give me example?
    – Fran Bedia
    Jan 28, 2020 at 10:44
  • David has added the same one already.
    – Ayub
    Jan 28, 2020 at 11:29

1 Answer 1


The Reports and Dashboards API provides a variety of endpoints to support your external applications in consuming report data.

To consume and render the data for a single report, you will probably want to call the Execute Sync endpoint:

/services/data/<latest API version>/analytics/reports/<report ID>

This will return a fairly complicated data structure called a fact map (described in the documentation linked) that you can interpret to reproduce the detail data and groupings that would be present in the report as rendered in Salesforce.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.