Progress® Telerik® Reporting R3 2017

Create Report Instance

Request

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

Path parameters

NameTypeDescription

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 CodeDescription

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 Message
POST /api/reports/clients/2c3d/instances HTTP/1.1

{
  report: “MyReport1”,
  parameterValues: {
        ‘p1’: ‘v1’,
        ‘p2’: 20
  },
}
Response Message
HTTP/1.1 201 Created

“a5f3”