When including a WebRequest control within the Nintex Form for O365, I'm unable to retrieve a NUMERIC value - only TEXT values.
This is to retrieve a weather value - the TEXT values are easy...
{"coord":{"lon":138.6007,"lat":-34.9285},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"base":"stations","main":{"temp":32.67,"feels_like":32.35,"temp_min":31.86,"temp_max":33.87,"pressure":1012,"humidity":35,"sea_level":1012,"grnd_level":1005},"visibility":10000,"wind":{"speed":1.57,"deg":25,"gust":2.27},"clouds":{"all":87},"dt":1647313538,"sys":{"type":2,"id":2037292,"country":"AU","sunrise":1647290653,"sunset":1647335115},"timezone":37800,"id":2078025,"name":"Adelaide","cod":200}
These all work ;
$.weather
$.weather
$.sys.country
BUT - when trying to get numeric values, there's an error ;
$.main.temp_min
$.main.temp_max
How do I convert this to a TEXT value - as a NUMBER doesn't work...
ERROR ;
Error with webservice: Error: Value does not match with given schema type.