Let's say I have the following object type:
"name": "Ash's Bulbasaur",
Where trainer is a Lookup Field for End-Users.
And I want to capture this data via API: a list of all objects linked to that user.
1. List records and filter
One approach might be doing a GET on
And then filter the result on the trainer value. But since these results can't be filtered in advance this requires paginating through all records and gets expensive and slow fast.
2. Search records
Another approach could be searching for the records by name. If I'm lucky all items have a name that contains the Trainers' name. If that's not the case, search is not an option.
3. Lookup Relationship
Another approach might be the Lookup Relationships API
But since this object is not explicitly linked to a Custom Ticket Field, I can't always map my records against object fields.
What would be the best way to get all records linked to a user?
- Sidebar app that shows all IT materials owned by a user
- Custom Help Center integration that allows a user to select it's license
See here for my full list of EAP Remarks
Please sign in to leave a comment.