Hi BO, thank you for your suggestion.
I understand that two steps (1. scan incidents / 2. table search ) approach would be an alternative way.
I feel search_ex api may less consume resources compared to "heler.findIncidents(query)".
So if we can use regular expressions such as ".*" for the value of search_ex api or other option to select all,
I thought it would be convenient to achieve the requirements to get all child objects in an organization.
------------------------------
Yohji Amano
------------------------------
Original Message:
Sent: Wed May 15, 2024 04:10 PM
From: Bo Bleckel
Subject: search_ex API usage question
Hi Yohji -
If anyone else sees this and has a better answer, please feel free. But from what I know, I am not certain that search_ex can achieve this.
You can, however, use the GET /incidents/{incident_id}/table_data/{table_api_name} endpoint to get the data in a datatable for a given incident. And then you could loop this over all incidents, and go from there... That's not to say that search_ex won't work for you, but that's the best I can think of that will certainly get the job done.
------------------------------
Bo Bleckel
------------------------------