ContactDelete

From NETIM
Jump to: navigation, search


Release Runtime
API >= 2.0 Synchronous


Description

Delete a contact

StructOperationResponse contactDelete(string idSession, string idContact)


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (12) idContact ID of the contact to delete


Return

A structure StructOperationResponse


Notes

Can't be used on a contact linked to a domain or a service.


Examples

PHP

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

Variants
Actions
Your account
Domain names
Contact Us
Web Hosting
SSL Certificate
Email Hosting
Website Builder
Resellers
Affiliates
Miscellaneous