SpreadWebServcie.GetSubscription Method

 

It gets all existing subscriptions in specified status.

public Dataset getSubscription (

string loginEmail,

string password,

SubscriptionStatus status

)

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

status

SubscriptionStatus

The status of subscriptions to be get.

Return Value

Dataset containing a single table with columns Subscription Name, description, Status and No. of Subscribers

Example

Dim loginName As String = "spread@reasonables.com"

Dim loginPassword As String = "spread"

Dim myStatus As SubscriptionStatus = SubscriptionStatus.Active

Dim mySubscriptionsData As Dataset

 

'Create a SpreadWebService object and use its method.

Dim MySpread As New SpreadWebService

 

mySubscriptionsData = MySpread.getSubscription(loginName, loginPassword, myStatus)

See Also

SpreadWebService Class | Spread Web Service Namespace

SubscriptionStatus Enumeration