how to set the REPORT_LOCALE parameter via the rest_v2 interface

1

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: 6 years 5 months ago

2 Answers:

2

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: 4 years 11 months ago
0

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: 6 years 3 months ago
Feedback
randomness