PauseCampaign
Pause the campaign from a scheduled campaign.
Please note of the following before starting use this function
- Only scheduled without delivering campaign is able to perform the pause for the campaign
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.CampaignAPISoapClient client = new ServiceReference1.CampaignAPISoapClient();
var result = client.PauseCampaign(header,100);