SpreadWebServcie.getCampaignID Method

 

public int getCampaignID (

string loginEmail,

string APIKey,

string CampaignName

)

參數

參數

類型

描述

loginEmail

String

Spread賬號的郵件地址.

APIKey

String

Spread賬號的密碼或者 API Key

CampaignName

String

電郵名稱

返回結果

Integer 獲取電郵ID

例子

string loginName = "spread@reasonables.com";

string APIKey = "434F3A43-04CB-40C2-890D-247A24F86DF3"; 

string CampaignName= "NoClone Promotion";

  

//Create a SpreadWebService object and use its method.

SpreadWebService MySpread = new SpreadWebService();

 

int campaignID = MySpread.getCampaignID (loginName, loginPassword, CampaignName);

參見

SpreadWebService Class | Spread Web Service Namespace