SpreadWebServcie.GetCampaignStatus Method

 

It gets the current status of an email campaign.

public CampaignStatus getCampaignStatus (

string loginEmail,

string password,

int campaignID

)

Parameters

Parameter

Type

Description

loginEmail

String

The login email of your Spread account.

password

String

The password of your Spread account or API Key which you can retrieve from your Spread account (My account=> Settings).

campaignID

Integer

The ID of the email campaign.

Return Value

CampaignStatus

Example

string loginName = "spread@reasonables.com";

string loginPassword = "spread";

int myCampaignID = 123456;

CampaignStatus myCampaignStatus;

 

//Create a SpreadWebService object and use its method.

SpreadWebService MySpread = new SpreadWebService();

 

myCampaignStatus = MySpread.getCampaignStatus (loginName, loginPassword, myCampaignID);

See Also

SpreadWebService Class | Spread Web Service Namespace

CampaignStatus Enumeration