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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Cherichoc-
Creator
Creator

tRestClient url that needs to extracts unique id from table in order to execute url

I was using tRest which worked fine but now we have to use authentication and tRest doesn't have that functionality. So i need to extract device id from a table, add it at the end of the url in order to extract data. 0693p00000BDrLOAA1.png

I am struggling with how to add the id to the url

0693p00000BDrMgAAL.png

And with how to set up the schema

0693p00000BDrN5AAL.png

Labels (9)
1 Solution

Accepted Solutions
Cherichoc-
Creator
Creator
Author

0693p00000BValaAAD.pngFinally managed to get it right

View solution in original post

3 Replies
Prakhar1
Creator III
Creator III

your devid is of type "int" in tMap and you are using it as "String" in URL.

write like this

"/device/" + (Integer)globalMap.get("out1.devid")

Cherichoc-
Creator
Creator
Author

I have updated , but it still gives me an error. How should i setup the input and output schema of the trestClient. Since there is the devID field input plus the default tRestClient

Cherichoc-
Creator
Creator
Author

0693p00000BValaAAD.pngFinally managed to get it right