Support Topics Documentation Slack YouTube Blog

Codeless solution to Relations Master 3of3

Mission: RELATIONS MASTER
Task: Retrieve Related Data With API

I seem to struggle ever time with the codeless implementation…

This is my latest failing attempt… can anyone give me a pointer…!
relations|690x206

Hi @Graham_Reddie,

The codeless logic you have retrieves only the related object of the specified parent. One of the conditions of the task is:

4. The API must retrieve both the parent `Person` object and the related `City` object with a single API call.

What you need to do is use the Load Table Objects block, retrieve the Person objects using a where clause and request the related property (I haven’t verified the logic below, but it should be along the “lines” of this):

Regards,
Mark

Hi @mark-piller that worked perfectly thank you so much. I don’t think I would have figured-out that I needed to create a “List”. If the question had hinted that this was required then it’s possible I may have got there after further trial and error.

I feel bad asked these dumb questions, especially when it relates to Codeless rather than JS but my only alternative would be to quit and unfortunately for you I want to complete my second mission :slight_smile:

Graham.

Please do not hesitate to ask any questions!