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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use query parameters withe trestclient using odata restservice

Hi,

 

I am consuming a rest webservice that uses ODATA queries. I use the TRestClient for this purpose.

With query parameter I would like to call the webservice.

The parameter looks like

Name         Value

$expand    "personalia($expand=*),homeAddress($expand=*),contactInformation($expand=*),contracts($expand=*)"

 

The input afte the "," is not seen bij the call of the webservice. So, only $expand    "personalia($expand=*)" works fine, but "personalia($expand=*),homeAddress($expand=*),contactInformation($expand=*),contracts($expand=*)" does not work.

 

Does anyone has an idea? Do i have to escape the "," with a "/" ?

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

found it: escape , with 2c%

 

"personalia($expand=*)%2ChomeAddress($expand=*)%2CcontactInformation($expand=*)%2Ccontracts($expand=*)"

View solution in original post

1 Reply
Anonymous
Not applicable
Author

found it: escape , with 2c%

 

"personalia($expand=*)%2ChomeAddress($expand=*)%2CcontactInformation($expand=*)%2Ccontracts($expand=*)"