Pass in List Parameter to BAQ

Anyone know if it’s possible to pass in a list of integers to call a BAQ using API with a List Parameter? I’m on the Swagger Rest Helper page, and it keeps giving me a conversion error.

It may very well be possible, but I’m not sure how to map a delimited string into the Input parameter using the BAQSvc.

However, it is possible to call a function that can convert your delimited string into a BAQ Parameter. Just a fall back in case nobody else has an answer.

1 Like

If you use the forbidden V1 Swagger Page, it presents the option to enter values into a list parameter.

Doing that gave me this request URL:
https://{server}/{environment}/api/v1/BaqSvc/{baq}/?Param1=100000&Param1=100001

If you’re doing something similar, what are you seeing?

4 Likes

That did it. My swagger page looks different as I’m currently on 10.2.200, and that list option isnt there. But using that syntax did the job. Appreciate it.

Unfortunately this environment is 10.2.200, no Functions available.

3 Likes