Getting the Background of a Report Element

Returns the background image or skin of a report element as a binary stream.

Request

GET <webiURL>/documents/{documentId}/reports/{reportId}/elements/{elementId}/background

Where:
  • {documentId} is the document identifier retrieved from the list of documents
  • {reportId} is the report identifier retrieved from the list of reports
  • {elementId} is the element identifier retrieved from the list of elements of the report
Response

The response type depends on the background image or skin format, for example:

  • image/bmp
  • image/gif
  • image/png
  • image/jpg
  • image/jpeg

Use image/* if you do not know the background format.

An error is thrown when:

  • There is no background.
  • Response type and background format are not compatible.

Example

GET <webiURL>/documents/9199/reports/154769/elements/289477/background

Response:

Content-Type: image/png
HTTP Response Code: 200