SslSetPreference

From NETIM
Jump to: navigation, search


Release Runtime
API >= 2.0 Synchronous

Description

Updates the settings of a SSL certificate. Currently, only the autorenew setting can be modified.

StructOperationResponse sslSetPreference(string idSession, string IDSSL, string codePref, string value)


Parameters

Format Variable Description Notes
string (32) IDSession Session ID
string IDSSL SSL certificate ID SSL-XXXX-XX
string (50) codePref Setting to be modified auto_renew
string value New value of the Setting string (1) for auto_renew


Return

A structure StructOperationResponse


Notes

None


Examples

Langage PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
$IDSSL = 'SSL-XXXX-XX';
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $clientSOAP->sslSetPreference($idSession, $IDSSL, "auto_renew", "1"); 
} 
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