DeleteCampaign
Deleting undelivered campaign.
Please note of the following before starting use this function
- Scheduled, delivering, delivered campaign is not able to perform the deleting.
- This function will not work when the campaign is inserting / deleting the recipient list.
Table: Parameter
Parameter name | Description | Column Type |
---|---|---|
CampaignID | Targeted Campaign ID. | Integer |
Request Example
Header
<APIKEY> - Value
Response
Success Response
{
"Result":{
"Status":"OK",
"StatusCode":"200"
}
}
Failed Response
{
"Result":{
"StatusCode":"500",
"Status":"InternalServerError",
"ErrorMessage":"Authentication Failed!"
}
}
Code Example (.NET)
ServiceReference1.AuthHeader header = new ServiceReference1.AuthHeader();
header.APIKey = "API KEY";
ServiceReference1.ServiceSoapClient service = new ServiceReference1.ServiceSoapClient();
var result = service.DeleteCampaign(header, 1444);