Skip to main content
ContactNow: How to delete dataset records from system for API Direct Users
8x8 Support

ContactNow: How to delete dataset records from system for API Direct Users

Objective

As an API only customer, we do not store record information on a database as these are stored by their external product. All records are stored with qid, phone number, dataset id (references to their external database). We do not store the data entirely and to get these removed this can be achieved with an API call to clear the data. It is important to note that the record will not be active and will be permanently removed from the platform once the record becomes older than 30 days.  This article documents 

Applies To

ContactNow, API Direct, Datasets, records, outbound dialling.

Procedure

This can be achieved by running the following API call:

https://api-106.dxi.eu/database.php?token=<Token>&method=datasets&action=update&dataset=<dataset_ID>&format=xml&raw=1
  1. dataset id is required 
  2. A valid Token is required

When calling the above API it is required to use the Post method and sending the following Payload to disable the dataset: 

<?xml version="1.0" encoding="utf-8" ?>
<dataset>
<id>Dataset_ID</id>
<value>0</value>
<status>0</status>
<qid>Queue_ID</qid>
</dataset>

Additional Information

Setting status with the following values explained:

  • 0 = inactive and scheduled for deletion
  • -1 = set record on hold
  • 1...n = number to call (home phone, mobile, work phone)  (this relates to sequential dialing)

 

  • Was this article helpful?