Jump to content
We've recently updated our Privacy Statement, available here ×

POST JSON to /reports service?


brianpipa

Recommended Posts

I think I've figured out that I can POST JSON parameters to the /reportExecutions service, but that is asynchronous. Is there a way to POST JSON to the /reports service so that I get the results synchronously? From what I can tell, this isn't possible. If I want to POST JSON parameters, I must use the /reportExecutions service. Is this correct? Can anyone confirm/deny this?

EDIT:  I just saw in the XML that can be POSTed to the /reportExecutions service that there is a parameter of "<async>true</async>" - does this mean I can set async to false and will be synchronous? Ok... just read the docs. yes, that's what it means. Sweet. Ok, so nevermind this question. :)

And while I'm here, the only example/help I have found on the JSON format for POSTing is this: http://community.jaspersoft.com/questions/825719/json-equivalent-xml-post-reportexecutions-rest-service - are there any official/better examples of this?

Thanks, Brian
 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...