You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API - Delete all records in child object vs Delete one record in child object

edited Jun 22, 2020 3:45PM in Sales 1 comment

Summary

Possible?

Content

Hey, 

If we want to delete all records in child object of Account or Contact, I know we can use Batch Action to include all child records or call APIs like below for each individual child record.

/crmRestApi/resources/11.13.18.05/accounts/{PartyNumber}/child/CustomerClassification/{CodeAssignmentId}
/crmRestApi/resources/11.13.18.05/accounts/{PartyNumber}/child/ContactPoint/{ContactPointId}

Is it possible to have a single call to delete all contact points or all customer classifications?

Thanks,

Adam

Version

20B
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!