New to Telerik ReportingStart a free 30-day trial

Resolve Document Overview

Request

POST /api/reports/clients/{clientId}/instances/{instanceId}/documents

Path parameters

NameTypeDescription
clientIdStringID of the service client. Returned by Register Client.
instanceIdStringID of the report instance. Returned by Resolve Report Instance.

Request Body

FormatKey describing the document to be requested.

Response

HTTP Status CodeDescription
202 AcceptedDocument instance created and rendering is initiated.
201 CreatedDocument instance already available.
410 GoneThe specified clientId cannot be found (expired).
404 Not FoundThe specified instanceId cannot be found.

Response Body

When the return status is Accepted/Created the body contains a document identifier string which is used to get pages/document.

Sample

  • Request

      POST /api/reports/clients/2c3d/instances/4d3c/documents HTTP/1.1
    
      {
      	"format": "HTML5",
      	"deviceInfo": { "xxx": "zzz" },
      	"useCache": true,
      	"baseDocumentId": "xxxx",
      	"actionId": "xxxx"
      }
  • Response

      HTTP/1.1 202 Accepted
    
      “5x3a”
In this article
RequestResponseSample
Not finding the help you need?
Contact Support