SpreadWebServcie.GetCampaignSubscriberDetail Method

 

獲取對應郵件的訂閱者信息 (登入你的Spread賬戶 -> 我的賬戶 -> 应用程序接口 ->允許 獲取訂閱者信息 )

參數

參數

類型

描述

loginEmail

String

Spread賬號的登錄郵箱.

APIKey

String

Spread賬號的密碼或者. API Key which you can retrieve from your Spread account (My account=> Settings).

subscriber_email

String

查询的账号类型, 邮件, 短信, WhatsApp

campaign_id

String

郵件活動的ID.

返回結果

Dataset 包含一個單表,行: email address, first name, middle name, last name, job title, company name, home phone, address1, address2, address3, city, state, country, postal code, sub postal code, fax, web url, title, gender, date1, date2, custom field1, custom field2, custom field3, custom field4, custom field5, custom field6, custom field7, custom field8, custom field9, custom field10, custom field11, custom field12, custom field13, custom field14, custom field15, status.

例子

string loginEmail = "Spread@reasonables.com";

string APIKey = "7D2B83DF-B4A3-4E42-8D77-E6B22A1004BE";

string subscriber_email = "Spread@reasonables.com";

int campaign_id = "1234";

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

DataSet result = MySpread.GetCampaignSubscriberDetail(loginEmail, APIKey , subscriber_email, campaign_id);

參見