Skip Navigation Links.
展开 最小化

SpreadWebServcie.UpdateCampaignFolder Method

更新郵件活動的目錄

參數

參數

類型

描述

loginEmail

String

Spread賬號郵件地址.

APIKey

String

Spread賬號的登錄密碼或者 API Key API key可在賬號詳情中查看 (我的賬號=> API).

campaignName

String

郵件活動名稱

folderName

String

目錄名稱

返回結果

String

例子

string loginEmail = "Spread@reasonables.com";

string APIKey = "Spread";

string campaignName = "CampaignName1";

string folderName = "FolderName1";

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

DataTable result = MySpread.UpdateCampaignFolder(loginEmail, APIKey, campaignName, folderName);

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

Dim APIKey As String = "Spread"

Dim campaignName As String = "CampaignName1"

Dim folderName As String = "FolderName1"

Dim MySpread As New SpreadAPI. SpreadWebService

Dim result As DataTable = MySpread.UpdateCampaignsFolder(loginEmail, APIKey, campaignName, folderName)

    /**
    * @name     UpdateCampaignFolder
    * @function Update Campaign Folder
    * @return
    * String: Update Campaign Folder Success/Fail/Error    
    */
    public function UpdateCampaignFolder($loginEmail,$apiKey,$campaignName,$folderName){
        $sendArr = array(
	        'loginEmail'        => $loginEmail,
	        'apiKey'	    => $apiKey,
	        'campaignName'	    => $CampaignName1,
                'folderName'	    => $FolderName1,
        );
        $Client=new SoapClient("http://service.rspread.com/Service.asmx?WSDL");
        $result = $Client -> UpdateCampaignFolder( $sendArr );
        if( empty( $result ) ){
	        return -1;
        }
        return $result;
    }

         
No sample.