How to specify time zone in the URL for REST API

3

Hi,

I am using JasperServer 5.0.1 and its REST API (rest_v2) to execute a report.
Here is an example of my URL:
http://192.168.1.81:8080/jasperserver/rest_v2/reports/reports/tz_test.pd...

I can successfully change the user locale but I also want to change the time zone since this report is run from various time zones around the world.

Can you tell me how to control the time zone via the REST API?
If that is not possible, what is the suggested method to achieve this goal?

Thanks in advance,
   - Gudmundur Johannesson

gudmundur.johannesson's picture
Joined: Mar 26 2013 - 9:51am
Last seen: 6 years 1 week ago

I tried using REPORT_TIME_ZONE=<timezone> but this returns an error:

java.lang.ClassCastException: java.lang.String cannot be cast to java.util.TimeZone

 

ghm1014 - 4 years 10 months ago

0 Answers:

No answers yet
Feedback
randomness