New to Telerik Reporting? Download free 30-day trial

Get Document

Request

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

Path parameters

Name Type Description
clientId String ID of the service client. Returned from Register Client.
instanceId String ID of the report instance. Returned from Resolve Report Instance.
documentId String ID of the report document. Returned from Resolve Document.

Response

HTTP Status Code Description
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

    GET /api/reports/clients/2c3d/instances/4d3c/documents/5x3a HTTP/1.1
    
  • Response

    HTTP/1.1 200 OK
    
    Content-Disposition: attachment; filename=ProductCatalog.pdf
    
    bytes
    
In this article