Forum Discussion
vish_ch - I'm assuming that you are able to pull the response from your HTTP call to get an ID value that you want to use in the next HTTP call, and that the ID needs to be part of the URI - if that's the case, just enable the "expression" button of the URI property and build the URI using string concatenation. Something like this:
Hope this helps!
When i tried with below logic i get output as follow:
jsonPath($.mapValues((value, key) => { ALNVALUE: parseFloat(value) || value, ASSETSTTRID:key}), “$*”)
which is not completely correct, i want highlighted assetnum, siteid, classstructureid outside the json path as mentioned in mapper snap.
Seems like i am missing somewhere a bit.
$.mapValues((value, key) => key==‘IsCritical’ || key==‘maoup’ || key==‘diame’?{AnnalValue:value,ASSETSTTRID:key} : “”).values().filter(x=>x!=“”)
Ignore the field names. Sample_2020_09_02.slp (3.7 KB)
Related Content
- 3 months ago
- 10 months ago
- 3 years ago
- 5 years ago