Deleting Multiple Siebel CRM Business Components When A Record is Deleted
You can delete multiple Business Component records by sending a single HTTP DELETE request to the resource's URI. The maximum number of records you can delete is 100. When you delete multiple Business Component records, it is possible that a record ID is invalid, or that a record has already been deleted and no longer exists in the database. When this happens, the entire request is rejected, none of the records are deleted, and the error message in the following example is displayed.
The following request deletes multiple Account records where a record ID is invalid, or the record associated with the ID no longer exists in the database:
URL: https://ServerName:port/siebel/v1.0/data/Account/Account
HTTP Method: DELETE
Content-Type: application/json
Authorization: Basic
Request body:
[ { "Id": "88-1V80SZ" }, { "Id": "88-1V80T2" }, { "Id": "88-1V80L3" } ]
Response body with status code: 400 Bad Request:
{ "ERROR": "No rows retrieved corresponding to the business component 'Account'(SBL-EAI-04378)" }