Skip Navigation Links.
展开 最小化

SpreadWebServcie.GetSubscriberDetail Method

Get Subscriber Detail (Login your Spread Account -> My Account -> API (Enabled Get subscriber detail allowed))

Parameters

Parameter

Type

Description

loginEmail

String

The login email of your Spread account.

APIKey

String

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

subscriber_email

String

The email of subscriber to be got.

Return Value

Dataset containing a single table with columns email address, first name, middle name, last name, job title, company name, home phone, address1, address2, address3, city, state, country, postal code, sub postal code, fax, web url, title, gender, date1, date2, custom field1, custom field2, custom field3, custom field4, custom field5, custom field6, custom field7, custom field8, custom field9, custom field10, custom field11, custom field12, custom field13, custom field14, custom field15, status.

Example

string loginEmail = "Spread@reasonables.com";

string APIKey = "TEST0000-TEST-0000-TEST-0000TEST0000";

string subscriber_email = "Spread@reasonables.com";

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

DataSet result = MySpread.GetSubscriberDetail(loginEmail, APIKey , subscriber_email);

Dim loginEmail As String = "Spread@reasonables.com"

Dim APIKey As String = "TEST0000-TEST-0000-TEST-0000TEST0000"

Dim subscriber_email As String = "Spread@reasonables.com"

Dim MySpread As New SpreadAPI.SpreadWebService

Dim result As DataSet = MySpread.GetSubscriberDetail(loginEmail, APIKey, subscriber_email)

    /**
    * @name     GetSubscriberDetail
    * @function get subscriber detail
    * @param
    *  subscriber_email	the email of subscriber to be got.
    * @return
    *          dataset.
    */
    public function GetSubscriberDetail($loginEmail,$APIKey,$subscriber_email){
        $array = array(
	        'loginEmail'        => $loginEmail,
	        'APIKey'	    => $APIKey,
	        'subscriber_email'  => $subscriber_email

        );
        $Client=new SoapClient("http://service.rspread.com/Service.asmx?WSDL");
        return $Client -> GetSubscriberDetail( $array );
    }

         
No sample.

See Also