New to Telerik Reporting? Download free 30-day trial

Resolve Report Instance

Request

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

Path parameters

Name Type Description
clientId String ID of the service client. Returned from Register Client.

Request Body

ReportSource object identifying the report instance that is created.

Response

HTTP Status Code Description
201 Created Report instance successfully created
400 BadRequest No report name is specified
404 Not Found The specified report name cannot be resolved / Parameter values are not valid
410 Gone The specified clientId cannot be found (expired)

Response Body

When the return status is Created the body contains report instance identifier string.

Sample

  • Request

    POST /api/reports/clients/2c3d/instances HTTP/1.1
    {
      report: “MyReport1”,
      parameterValues: {
        ‘p1’: ‘v1’,
        ‘p2’: 20
      },
    }
    
  • Response

    HTTP/1.1 201 Created
    “a5f3”
    
In this article