Delete protection

				
					StructOperationResponse brandProtectionDelete(string $IDsession, string $id)
			

Delete a brand protection.

REQUIRED

  • idSession string (32)
    Session ID.
  • id string
    Brand protection ID (BP-XX000-XX).

An Object of type StructOperationResponse

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