DetachDocumentFromCampaign

Removes an attachment from a campaign

This method removes an attachment from a campaign.

SOAP action: http://apiconnector.com/v2/ApiService/DetachDocumentFromCampaign

πŸ“˜

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Campaign ID - required; integer
  • Document ID - required; integer

Output parameters
No output

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var campaignId = 1;
	var documentId = 1;
	client.DetachDocumentFromCampaign(campaignId, documentId);
}