ContactNow: How to Delete Dataset Records from System for API Direct Users
Objective
Delete dataset records from the system for API Direct users using an API call.
Applies To
- ContactNow
- API Direct
Procedure
- Run the following API call use the Post method. A dataset ID and a valid token are required.
https://api-106.dxi.eu/database.php?token=<Token>&method=datasets&action=update&dataset=<dataset_ID>&format=xml&raw=1
- Send 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
Status values:
- 0 = inactive and scheduled for deletion.
- -1 = set record on hold.
- 1...n = number to call (home phone, mobile, work phone).
As an API only user, information is not stored on a database as these are stored by the external product. All records are stored with qid, phone number, dataset id (references to their external database) and removed with an API call. The record will not be active and will be permanently removed from the platform once the record becomes older than 30 days.