post https://mytenant.cx.onecloud.com/configapi/v2/donotcalllist/replaceAll/
The method replaces all records in the specified Do Not Call (DNC) list and returns the number of newly inserted records. Duplicates are ignored. An optional comment field value is inserted in the comment field of a geographic (postal) DNC record, campaign name field of an internal DNC record, and in the comment field of area codes DNC record. This method is supported for internal, geographic postal area codes, and accounts' DNC lists.
Response Codes
Code | Description |
---|---|
200 | Success |
400 | Bad request (format not understood) |
401 | Authentication failed |
403 | User authenticated but does not have sufficient privileges, or modification of this type of list is not allowed |
404 | Calling List is not found or invalid URL |