SpreadWebServcie.UpdateSubscriberStatus Method

 

更新聯絡人狀態

參數

參數

類型

描述

loginEmail

String

Spread賬號郵件地址.

password

String

Spread賬號的登錄密碼或者  API Key API key可在賬號詳情中查看 (我的賬戶=> API).

subscriberEmail

String

聯絡人的名單

subscriberStatus

SubscriberStatus

聯絡人的狀態

返回結果

String - Success/Fail/Error.

例子

string loginEmail = "Spread@reasonables.com";

string loginPassword = "Spread";

int subscriberEmail = "alan@reasonables.com";

campaignStatus subscriberStatus = SubscriberStatus.Active;

SpreadAPI. SpreadWebService MySpread = new SpreadAPI. SpreadWebService ();

string result = MySpread.UpdateSubscriberStatus(loginEmail, loginPassword, subscriberEmail, subscriebrStatus);

參見

SpreadWebService Class | Spread Web Service Namespace