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

Problem by using timestamp as parameter


Recommended Posts

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

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...