SpreadWebServcie.GetCampaigns Method

 

分页获取该账号下的邮件活动

参数

参数

类型

描述

loginEmail

String

Spread账号的登陆邮箱

APIKey

String

Spread账号的密码或者 API Key

pageNumber

Integer

页码,值必须大于0。

pageSize

Integer

页大小,值必须大于0。

返回结果

Dataset 包含一个单表,行:RowNumber, campaign_id,campaign_name,campaign_email,campaign_from,campaign_subject, status_id, cdate_updated

例子

string loginEmail = "Spread@reasonables.com";

string APIKey = "Spread";

int pageNumber = 1;

int pageSize = 10;

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

DataSet result = MySpread.GetCampaigns(loginEmail, APIKey, pageNumber, pageSize);

参见

SpreadWebService Class | Spread Web Service Namespace