SpreadWebServcie.CreateSubscription Method

 

It creates a subscription.

public bool createSubscription (

string loginEmail,

string password,

string subscriptionName,

string description,

)

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).

subcriptionName

String

The name of subscription to be created.

description

String

The description of subscription to be created.

Return Value

True if succeed. Otherwise, False.

Example

string loginName = "spread@reasonables.com";

string loginPassword = "spread";

string myNewSubsciption = "NoClone VIP";

string myNewDiscription = "NoClone VIPs are added to here.";

bool isSuccessful;

 

//Create a SpreadWebService object and use its method.

SpreadWebService MySpread = new SpreadWebService();

 

isSuccessful = MySpread.createCampaign (loginName, loginPassword, subscriptionName, description);

See Also

SpreadWebService Class | Spread Web Service Namespace