Hello everybody,
I have the task to delete all objects (schedules, instruments lists, report templates, and returned files), on TR server, pertaining to asynchronous requests that we sent, between two dates (or in fact until a certain date).
The way I found was to list the objects, and for each, call the Delete method, of ScheduleOperations, InstrumentListOperations, ReportTemplateOperations ...
Apart from the fact that I have to review the notion of pagination to get more than the first 250 objects of each sort, I see that each deletion takes about 7 to 8 seconds.
For the test phase it can seem OK, but when the real operations are started we can have too numerous objects to take so much time to purge them.
Any hint about this ?
The test application examples propose to delete the objects as soon as the results are received, but that does not seem to be coherent with the needs as some debate can appear about an operation or another some time after the extraction.