The Rollbase Rest Api documentation of getPage talks about a recursive output of object records in a view. Don't views only show records of one object? How could I achieve a view with records of multiple objects?
It is possible. The "fieldList" parameter is also applied to the related records. :)
Hi Matthijs,
I'm afraid this is not possible using a single getPage request because there is no viewId which displays records from all objects.
You can use multiple getPage requests to display the different views. This will consume a lot of processing and time to complete the request, though.
Regards,
Godfrey
Hey Godfrey thanks for your reply,
I was able to work around the problem. Due to some erroneous coding I sent a bad API call, which caused me to receive data different from what I expected. I corrected the code and set the "composite" parameter (for retrieving related records recursively) for the getPage call to 1. Now I was able obtain the related objects.
I don't think it would in any way be possible to set "fieldList" for the related records, is it?
It is possible. The "fieldList" parameter is also applied to the related records. :)
Ah, cool! Thanks! :)