Getting the List of Reports

Usage

Gets the list of reports for a Web Intelligence document.

The following items identify a report:

  • Id
  • Reference
Request

GET /documents/<documentID>/reports

Response

Response type: application/xml or application/json

Response body:

  • The <id>, <name>, and <reference> of the reports
  • The <showDataChanges> Boolean value that expresses whether data changes are displayed

Example

XML

GET /documents/12782/reports

Response:

<reports>
    <report>
        <id>1</id>
        <name>Cross Tab View</name>
        <reference>1.RS</reference>
        <showDataChanges>false</showDataChanges>
    </report>
    <report>
        <id>2</id>
        <name>Simple charting view</name>
        <reference>2.RS</reference>
        <showDataChanges>false</showDataChanges>
    </report>
</reports>

Example

JSON

GET /documents/5152/reports

Response:

{"reports":
    {"report":[
        {"id":1,"name":"Basic Charts","reference":"1.RS","showDataChanges":false},
        {"id":2,"name":"Combination Chart","reference":"2.RS","showDataChanges":false},
        {"id":3,"name":"Custom Color Palette","reference":"3.RS","showDataChanges":false},
        {"id":4,"name":"Chart Property Support","reference":"4.RS","showDataChanges":false},
        {"id":5,"name":"Element Linking","reference":"5.RS","showDataChanges":false}]
    }
}