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

Returns a report document by 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 api/reportserver/documents endpoint. For report documents generated by scheduled tasks or data alerts, use the endpoints in the ScheduledTask or DataAlert controller.

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?