GET api/reportserver/v1/documents/{documentId}

Retrieves a report document file by its ID. To specify whether the document will be directly opened in the browser or downloaded as a file, you can use a "content-disposition" parameter in the URL query. For example: http://{reportserverhost}/api/reportserver/documents/{id}?content-disposition=attachment. To open the document directly in the browser omit the "content-disposition" parameter. This endpoint can be used to get only report documents created via the POST /documents endpoint.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
documentId

Report document ID.

string

Required

Body Parameters

None.

Response Information

Resource Description

The bytes of the report document.

Collection of byte
NameDescriptionTypeAdditional information

Response Formats

application/json, text/json

Sample:
"QEA="
In this article
Not finding the help you need?