GetCampaignAttachments

Gets documents that are currently attached to a campaign

This method returns a document object or a list of document objects that are attached to a specific campaign.

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

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Campaign ID - required; integer

Output parameters

  • GetCampaignAttachmentsResult - array of Document
    • Document
      • Id - integer
      • Name - string
      • FileName - string
      • FileSize - integer
      • DateCreated - dateTime
      • DateModified - dateTime

Example

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

	var campaignId = 1;
	var campaignAttachments = client.GetCampaignAttachments(campaignId);
}