Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Marcl78
Contributor
Contributor

tRrestclient component parameter in the url is array []

Hi,

I would like your help because i can't fichier the good way to give a value list in a parameter transmeeted in an url for calling a webservice withe get method

One of the parameter declared in the query parameter list of the tRestClient componant is a type array.

like this parm[]

I would like to give 3 values because i would like the api give me back all lines where parm="A" & parm="b" & parm="c"

if i put this in standard called url for api with a tHttpRequest componant this work good when i put :

https://myurl/path?parm[]=a&parm[]=b&parm[]=c

I first register a variable in my context => example => parm in list Of value type. Then i've entered the 3 values desired.

When i start the job it doesn't return any line, if i put only one value, it's ok.

What is the good way to transmitted multiple value for a Rest api call for that case ? With on parameter in list type ? Thank you for your help

Labels (2)
1 Reply
houssem_B
Contributor III
Contributor III

you can add your parms in Query parameters box where you can set your param name and its value