Renew protection

				
					StructOperationResponse brandProtectionRenew(string idSession, string id, int duration)
			

Renew a brand protection for a new period.

REQUIRED

  • idSession string (32)
    Session ID.
  • id string
    Brand protection ID (BP-XXXX-XX).
  • duration integer
    Duration in years.

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{
 
    $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
    $clientSOAP->brandProtectionRenew($idSession, "BP-XXXXX-XX", 1); 
}
catch(SoapFault $fault) 
{
    echo "Exception : " .$fault->getMessage(). "\n"; 
}
 
if (isset($idSession)) 
{
    $clientSOAP->sessionClose($idSession); 
}