SpreadWebServcie.GetCampaignUnsubscribes Method

 

下面例子演示了如何獲取郵件活動取消訂閱的詳細.

參數

參數

類型

描述

loginEmail

String

Spread账号的登录邮箱.

password

String

Spread賬號的密碼或者API Key.

campaignId

String

郵件活動ID.

startDate

DateTime

報告的起始時間.

endDate

DateTime

報告的截止時間.

返回結果

Dataset 包含一個單表,行 subscriber_email and date

例子

Dim loginName As String = "Spread@reasonables.com"
Dim loginPassword As String = "Spread"

Dim campaignID As Integer = 123456
// suggest dateTime string format "dd MMM yyyy HH:mm:ss" ,such as "22 Feb 2013 12:11:21" .
Dim startTime As DateTime = "22 Feb 2013 12:11:21"
Dim endTime As DateTime = "22 Feb 2013 12:11:21"

'Create a SpreadWebService object and use its method.
Dim MySpread As New SpreadWebService
Dim result As DataSet = MySpread.GetCampaignUnsubscribes(loginName, loginPassword, campaignID, startTime, endTime)

參見

SpreadWebService Class | Spread Web Service Namespace