Progress® Telerik® Reporting R2 2017

Get Document

Request

URI Template
GET /api/reports/clients/{clientId}/instances/{instanceId}/documents/{documentId}

Path parameters

NameTypeDescription

clientId

String

ID of the service client. Returned from Register Client.

instanceId

String

ID of the report instance. Returned from Create Report Instance.

documentId

String

ID of the report document. Returned from Create Document.

Response

HTTP Status CodeDescription

200 OK

Document is downloaded as an attachment.

410 Gone

The specified clientId cannot be found (expired).

404 Not Found

The specified instanceId or documentId cannot be found.

Response Body

The document content bytes as attachment.

Sample

Request Message
GET /api/reports/clients/2c3d/instances/4d3c/documents/5x3a HTTP/1.1
Response Message
HTTP/1.1 200 OK

Content-Disposition: attachment; filename=ProductCatalog.pdf

bytes