yaroniva Posted November 30, 2019 Share Posted November 30, 2019 Need help how to construct the REST call to pass an integer to a report.- I would like the report to summerize information for all fields that are in a lint of integers- the parmeter is defined as a collection of long- could not figure out from searching and the API documentation how to transfer the list of long numbers to the report.- if I don't try anything with the parameter name , than the report is for the default value expression --> java.util.Arrays.asList(999002,999003)- the paramerter name is sensor_list, anything I try results an internal server error or getting the report with the default collection Link to comment Share on other sites More sharing options...
yaroniva Posted December 2, 2019 Author Share Posted December 2, 2019 here is a work around - use parantesis with a list of values and use as a string parmeterurl?list=(100,1000,101,54)use the following query:select ......... fromwhere list in $P!{list} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now