how to set the REPORT_LOCALE parameter via the rest_v2 interface

Hello,

I've created an report using the locale packages. When I set the REPORT_LOCALE in iReport, or the via the regualr JasperServer web interface (... &reportLocale=en_EN ) everything works fine.

But when I want to use the rest_v2 Interface, passing the REPORT_LOCALE parameter is ignored. How can I handle this issue? Any suggestions for me?

 

Thanks,

Michael Schmuck

michael.schmuck's picture
Joined: Oct 2 2012 - 7:54am
Last seen: 10 years 2 months ago

2 Answers:

REPORT _LOCALE and reportLocale is wrong in this context, you have to use "&userLocale=en".

rucksman007's picture
Joined: Jan 29 2013 - 6:14am
Last seen: 8 years 8 months ago

Here is an example on how I do this:
http://192.168.1.81:8080/jasperserver/rest_v2/reports/reports/tz_test.pd...userLocale=en_US&category_ids=4

However, I wanted to take this further and specify the time zone since a country may have multiple time zones.  
Do you have any idea on how to achieve that?

gudmundur.johannesson's picture
Joined: Mar 26 2013 - 9:51am
Last seen: 9 years 11 months ago
Feedback