get https://{domainname}/cloudAgentRestAPI/index.php/CloudAgent/CloudAgentAPI/deleteCampaignData
Delete campaign data API is used to delete data from the outbound campaigns. One record can be deleted per each request sent.
To access this API the following parameters MUST be passed.
Parameter | Description |
---|---|
api_key* | Available in CloudAgent admin login |
user_name* | CloudAgent account name |
campaign_name* | Campaign from which the data has to be deleted |
caller_number* | Record to be deleted |
name | Name of the record that has to be deleted |
Note
Parameters with * are mandatory parameters.
All possible responses
Success response | "status": "success" "message": "Deleted Successfully" |
Invalid api_key | "status": "failure" "message": "api_key should not be empty" |
Empty api_key | "status": "failure" "message": "api_key should not be empty" |
Invalid user_name | "status": "error" "message": "user_name or apiKey is Invalid" |
Empty user_name | "status": "error" "message": "user_name should not be empty" |
Invalid campaign_name | "status": "error" "message": "campaign_name is Invalid" |
Empty caller_number | "status": "error" "message": "caller_number should not be empty" |
Further Insights
By default, the domain name is https://in1-ccaas-api.ozonetel.com. Please refer here to change based on the need.