Using for each to iterate through a collection of records and invoke url for each record

Using for each to iterate through a collection of records and invoke url for each record

I am trying to set up a scheduled function to compare and quality control check between 2 sets of data.  One of these is within a creator app that I built, and the other I am calling from a 3rd party API.  My planned workflow involves selecting all of the records in the report from the previous day, and using a unique id (appealid) to call an API to retrieve all the corresponding records from that dataset.  The idea is that I want the values in multiple fields to match what I have in my application, and if they don’t I will set up a sendmail task to notify a coworker of inconsistencies.  I am having trouble iterating through records I have selected from the previous day (I am attempting to call the API for each appealid in DailyRecords).  This work when I just return response, but if I try to drill down to one of the keys in the JSON, I get an error message.  Below I’ve included some helpful screenshots.  

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now