PureCloud's Platform API has a suite of methods available for managing Outbound Dialing campaigns, which is how we are planning to manage our Patient Inventory IVR process.
An outbound campaign is associated to a ContactList (the people who will be called), and there is another part, the Call Response, which manages how the call proceeds (the IVR). The Call Response is also associated to the ContactList.
As our business model is to call each patient (potentially) multiple times, but stop if they provide us with their inventory / order information, that contact list will change every day. Manually uploading new lists and configuring the Campaign(s) every day is a large and error-prone task.
The Platform API has DELETE methods to:
- Delete a Contact List completely, or
- Delete a single Contact from a list, or
- Delete multiple contacts from a list
For #s 2 and 3, the ContactList entry/row Id for each Contact must be specified in the URL for the HTTP DELETE request.
It would be extremely beneficial to have a single method to delete / clear / reset all the Contacts from the list, while maintaining the list to receive new entries. As it happens, it is quite difficult to construct that URL from Salesforce. I can get all the data, but assembling it into a valid URL string is .. trying.
I would like to request a new DELETE method resembling something like this for this purpose:
/api/v2/outbound/contactlists/{contactListId}/contacts/all
------------------------------
Santiago Torres
Nxstage Medical, Inc.
------------------------------