Set membership

				
					StructOperationResponse domainSetMembership(string idSession, string domain, string token)
				
			

Add a membership information to the domain name.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.
  • token string (255)
    Membership number into the community.

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $StructOperationResponse = $clientSOAP->domainSetMembership($idSession, "netim.com", "123456"); 
 
      print_r($StructOperationResponse);
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>