SpreadWebServcie.ChangePublishStatus Method

 

Publish or not publish Newsletters.

Parameters

Parameter

Type

Description

loginEmail

String

The login email of your Spread account.

password

String

The password of your Spread account or API Key which you can retrieve from your Spread account (My account=> Settings).

campaign_Id

String

The ID of email campaign.

isPublish

Boolean

Publish or not publish Newsletters.

Return Value

Boolean represent the result of update status ."true" means success, others mean fail.

Example

string loginEmail = "Spread@reasonables.com";

string loginPassword = "Spread";

string campaign_Id = "123456";

bool isPublish = false;

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

bool result = MySpread.ChangePublishStatus(loginEmail, loginPassword, campaign_Id, isPublish);

See Also

SpreadWebService Class | Spread Web Service Namespace