Lets say I wanted to grab the first element in the “HIstory” element. How would I do so?
Full XML code:
https://pittohio.com/WebServices/RestServices/api/ShipmentTracingETA/Get?pronumber=5032213299&all=yes&irv=134302&eta=yes&format=json
Lets say I wanted to grab the first element in the “HIstory” element. How would I do so?
Full XML code:
https://pittohio.com/WebServices/RestServices/api/ShipmentTracingETA/Get?pronumber=5032213299&all=yes&irv=134302&eta=yes&format=json
Awesome! Is it possible to grab all the elements and place them into an array?
yes,
kindly note it is an array of JObjects. Give me a little time and will prepare some starter helps
Managed to get it, thanks for the help
Perfect
Here a sample to get it as DataTable:
Can I ask one more?
Inside the JSON file:
How can I retrieve the string “Delivered”
I tried:
myJObject(“prostatus”)(“currentstatus”).toString
With no luck.
prostatus is an array, so we use the index
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.