hey all,
I’m reading a lot of records(more than 50K) and I want only one field from each record
so it wouldn’t be efficient to return all the fields of a record.
can I specify which fields to return in the API?
hey all,
I’m reading a lot of records(more than 50K) and I want only one field from each record
so it wouldn’t be efficient to return all the fields of a record.
can I specify which fields to return in the API?
Not with the classic /compose
endpoint, but you could define a report for it – that one can return a subset of columns.
Regardless, in such cases, I usually tend to fetch the records in multiple smaller chunks (can also run in paralel) instead of defining a report and fetching it like that.
Refer to the web application and the test suite (this file for example) to get some help on structuring the request.
Keep in mind that the response is structured a bit differently then with the classic compose endpoint.