I have an array named, $records and when I print it the output is:
stdClass Object
(
[questions] => Array
(
[0] => stdClass Object
(
[question] => stdClass Object
(
[questId] => 1
[category] => General
[question] => What is your current or most recent salary?
[relationshipUrls] => stdClass Object
(
[answers] => https://chp.tbe.taleo.net/chp04/ats/api/v1/object/question/1/answer
)
)
)
[1] => stdClass Object
(
[question] => stdClass Object
(
[questId] => 2
[category] => General
[question] => What is your current or most recent title?
[relationshipUrls] => stdClass Object
(
[answers] => https://chp.tbe.taleo.net/chp04/ats/api/v1/object/question/2/answer
)
)
)
)
)
I need to get the [answers] so that I can make another REST api GET call, but I seem to have a hard time iterating through this.