How to use a dynamic value in and API call with invoke url

How to use a dynamic value in and API call with invoke url

I am working on a form that will autofill multiple fields based off of a parameter (Case_Number) value that is passed through url.  I want to append that value to the endpoint in my API as query so I can grab the corresponding data to that Case_Number to autofill other fields in my form.  I was thinking something similar to a JavaScript template literal, but I can't seem to find a way to do this with Deluge.  Any suggestions?

  1. // On load of form, Case_Number will be the unique ID that triggers the autofill of several other fields
  2. //casenumber = input.Case_Number;
  3. response = invokeurl
  4. [
  5. url :"https://data.wcad.org/resource/rzdy-vxin.json?casenumber=" + input.Case_Number
  6. type :GET
  7. connection:"arb_minutes_to_tyler_api"
  8. ];
  9. //
  10. quickRefID = response.getJSON("quickrefid");
  11. taxYear = response.getJSON("taxyear");
  12. appellantName = response.getJSON("appellantname");
  13. appealID = response.getJSON("appealid");
  14. noticeValue = response.getJSON("fnoticevalue");
  15. owner = response.getJSON("ownerpartyname");
  16. propertyType = response.getJSON("propertytypecode");
  17. legalDescription = response.getJSON("legaldescription");
  18. appellantAddress1 = response.getJSON("appellantaddress1");
  19. appellantAddress2 = response.getJSON("appellantaddress2");
  20. appellantCity = response.getJSON("appellantcity");
  21. appellantState = response.getJSON("appellantstate");
  22. appellantZip = response.getJSON("appellantzip");
  23. typeOfProtest = response.getJSON("appealreasonscode");
  24. input.PID = response.getJSON("propertyid");
  25. //

  26. input.Quick_Ref_ID = quickRefID;
  27. input.Appeal_Tax_Year = taxYear;
  28. input.Appellant = appellantName;
  29. input.Appeal_ID = appealID;
  30. input.Notice_Value = noticeValue;
  31. input.Property_Owner = owner;
  32. input.Property_Type = propertyType;
  33. input.Legal_Descriprion = legalDescription;
  34. input.Appellant_Address_1 = appellantAddress1;
  35. input.Appellant_Address_2 = appellantAddress2;
  36. input.City = appellantCity;
  37. input.State = appellantState;
  38. input.Postal_Code = appellantZip;
  39. input.Type_of_Protest = typeOfProtest;
  40. input.PID = input.PID;