Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Download tool - adding an integer to an api request url

jackdaniels
8 - Asteroid

the api that I am trying to use needs an integer in the middle of the request url. How can I build this url in the download tool?

 

http://api.lmiforall.org.uk/api/v1/ashe/estimatePay?soc=11&breakdown=gender

 

2 REPLIES 2
BenMoss
ACE Emeritus
ACE Emeritus

Hi!


You should look to create your URL in a formula tool

I assume the problem is that you have this value stored in a field and you want to make the request dynamic, in which case you can simply use the tostring() function or change the data type of the field prior to building your URL, for example...

 

“http://...?soc=”+tostring([SOCFIELD])+”&breakdown...”

jackdaniels
8 - Asteroid

Hi Ben!

Thanks for the suggestion. It's solved, but the problem was something else entirely.

Labels