This is a migrated thread and some comments may be shown as answers.

REST API hangs on Parameters call

1 Answer 165 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 14 Aug 2016, 12:53 AM

Hi

I just installed the latest R2 reporting verson and set up an empty ASP.NET app with the standard report controller, and one simple report that I created in the Stand Alone designer (trdp).

I am calling the REST API using PostMan.

The call to formats works, as does clients, and I get a clientId

However, the call to /parameters or /instances hangs... it doesnt even show up in fiddler (whereas the other calls do).

What could be wrong?

POST http://localhost/ProjectCentral.Reporting/api/reports/clients

returns

{
  "clientId": "175035-70fc"
}

 

and

 

POST http://localhost:ProjectCentral.Reporting/api/reports/clients/173346-5ee7/parameters

{
  "report": "RDCertificate.trdp",
  "parameterValues": {
    "ProjectNumber": 2050122
  }
}

Hangs.

I am deploying to my local IIS Server on Windows 10 Anniversary Edition, 64 bit. Integrated App Pool running as Network Service, with access to the cache and reports folder (I see the cache files being written).

 

 

 

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 15 Aug 2016, 12:51 PM
Hello John,

Please double-check if you are using the correct clientId on the request for parameters and the consecutive requests for instance and document. An example of a Javascript client of the Reporting REST service is available here.

The recommended troubleshooting approach for the HTML5 Viewer is to use Fiddler or other proxy tool to check the requests, their responses and statuses. With Fiddler, information about requests and responses content can be seen in Fiddler - Inspectors - Request/Response - Raw tabs. This will let you check requests to the Reporting REST service and if the URLs are correct, if relative paths are resolved correctly.

In case the purpose of the code is to get a report rendered in a selected format from the server, please check if using a ReportProcessor fits your requirements - Exporting Report Programmatically.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or