Batch Delete Scheduled Async API Conversation and Non-Conversation Messages
To delete scheduled conversations and non-conversation messages in batch, use the ScheduledRequest and ScheduledConversation objects together in the same request. Specify more than one Objects element in the body of the SOAP envelope, and format each like a single deletion request. Use the examples below as guides.
You can make the request synchronously or asynchronously by using Synchronous or Asynchronous as the RequestType. Asynchronous requests are queued and processed in the order they arrive. General delays in Async API processing impact an asynchronous deletion request, just like any other asynchronous request.
Use the OrdinalID values to match individual Results elements in the response with the corresponding Objects elements in the request. An OrdinalID of zero corresponds with the first Objects element in the request.
In this example, the SendResponseTo options RespondWhen and IncludeResults are set to notify the caller during every processing step and to include the results of each deletion in the batch.