Can I upload to Rest API v2 a reportUnit with main report and subreport in the same body?

The json is attached in a txt file.

Maybe the main report need to change the subreport reference inside, calling  "repo:subreport_teste1.jrxml"

I know that the main problem is the RESOURCES node of JSON, but I could not locate it.

Can anybody help me?

leandrolagoa's picture
Joined: Jul 18 2019 - 11:51am
Last seen: 3 years 6 months ago

Hi! 

Were you able to solve this? I'm trying to do the same.

Thanks!

anibal.duardo - 2 years 3 months ago

Hi,

Yes, you can upload report with its subreport(s) using REST API. Refer below Wiki article, which I have created for this requirement:

https://community.jaspersoft.com/wiki/uploading-reports-subreports-using...

dpahlani - 2 years 2 months ago

1 Answer:

Hi,

Yes, you can upload report with its subreport(s) using REST API. Refer below Wiki article, which I have created for this requirement:

https://community.jaspersoft.com/wiki/uploading-reports-subreports-using...

dpahlani's picture
4054
Joined: May 7 2020 - 1:32am
Last seen: 7 hours 20 min ago
Feedback
randomness