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

florian.johannssen_1

Members
  • Posts

    4
  • Joined

  • Last visited

florian.johannssen_1's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi Jasper fans, on my jasperserver, i have a report with two date (java.util.date) parameters (StartDate, EndDate). I want to execute the report by using the rest-interface I want to pass the date with the time-information: like StartDate=1997-01-01T04:05:06+02:00 with my rest-interface. Unfortunately, the report shows the StartDate with format: DATEFORMAT($P{StartDate},"yyyy-MM-dd HH:mm:ss") = 1997-01-01 00:00:00 So, the time information is gone. Any advice to receive the time information? Kind Regards Florian
  2. Hi reportdev, when I follow your advice, i dont get this error. Great. But, i did the following. I have a report with two Parameter-Dates: StartDate and EndDate (java.util.Date in the jasper studio) When I call the jasper server with: StartDate=1997-01-01T04:05:06+02:00 , the report will display: StartDate : 1997-01-01 00:00:00. So the time information is lost. If i set the ParameterType to java.sql.Timestamp, it works....but i have to use the java.util.date on the report-side. Any Advice? Many thanks and kind regards Florian
  3. Hi Jasper fans, on my jasperserver, i have a report with two timestamp parameters (StartDate, EndDate). If i want to pass the date via the restv2 interface, i receive the following error: <errorCode>input.controls.validation.error</errorCode><message>Input controls validation failure</message>[/code]Specify a valid value for type Timestamp. The value of the timestamp parameter is just a typically sql.timestamp like: 2018-06-01 19:52:34.266 My GET-Request is like: HOST:8080/jasperserver/rest_v2/reports/myReport.pdf?StartDate=2018-06-01 19:52:34.266 I don´t know why the server rest interface throws a validation error. Does anyone have a suggestion or idea to solve this problem? Thank you very much. Kind Regards Florian
  4. Hi Jasper fans, on my jasperserver, i have a report with two timestamp parameters (StartDate, EndDate). If i want to pass the date via the restv2 interface, i receive the following error: <errorCode>input.controls.validation.error</errorCode> <message>Input controls validation failure</message> Specify a valid value for type Timestamp. The value of the timestamp parameter is just a typically sql.timestamp like: 2018-06-01 19:52:34.266 My GET-Request is like: HOST:8080/jasperserver/rest_v2/reports/myReport.pdf?StartDate=2018-06-01 19:52:34.266 I don´t know why the server rest interface throws a validation error. Does anyone have a suggestion or idea to solve this problem? Thank you very much. Kind Regards Florian
×
×
  • Create New...