For Each Loop Error w/ API

I’ve called a HTTP request in my sequence and aiming to extract part of my API information within a datatable but I’m having problems with my loop. I don’t know how to target the email, first name and last name if it’s not all within a section and thought doing it how I have it would work as it’s targeting the whole API call that’s been deserialized?
API%20Call For%20Each%20Loop

Hi no need to iterate in the loop if you already desirialize it.
jsonDesiarilize(“email”).Tostirng This will do it @jackcawthra

cheers :smiley:

Happy learning :smiley:

1 Like

Ah so I don’t need to put it inside a loop at all? I can just assign the values to the relevant data? I added a loop as there’s only one participants information inside of the API call at the moment but may be more in future.

Hi @jackcawthra

You can check out my component. here see link below for your reference.

https://go.uipath.com/component/essilor-read-json-file

cheers :smiley:

Happy learning :smiley:

1 Like

Struggling to put it into context with my sequence so was wondering, do I need to take my For Each loop out my sequence or is there a way to target the whole file, as that’s what I thought I was doing by putting ForEach item in jsonDeserialize?