TeamDesk Knowledge Base & Support

   Home      FAQ      Forum      Idea Exchange      Ask a Question      My Stuff      Help   
  
Mass Delete Using API
currently the API only supports deletion of records using the record key/id.

This means that if I need to delete multiple records identify them and loop through them one by one.
This is not very efficient/performant and only processes about 10 records per second let alone the extra effort in setting it up.

It would be great if the API allowed a 'mass delete' option where multiple parameters could be added to filter the data to be deleted (same like using 'Select'). Even if there was a 500 record limit, it would still be a big improvement on what is currently allowed.

please consider this for the (near) future.

thanks
Nick

ID
1296
Category
Integration/API
Author

Nick Ashcroft
Date Created
7/16/2019 3:27:17 AM
Date Updated
7/16/2019 4:46:11 AM
Status
New Idea
Score
10
Promoted By
Nick Ashcroft
Comments
Kirill Bondar  Staff  7/16/2019 4:46:11 AM
Even using filter we'll be processing records one by one as we have to execute workflow rules for each record separately. But:

* You can pass multiple id/key parameters to delete method.
* Turning of workflow triggers execution using workflow=0 parameter could speed up the process - though it requires Manage Data setup privilege for the user making the request.
Feedback
 
Back to Search Results