Delete protection

				
					StructOperationResponse brandProtectionDelete(string $IDsession, string $id)
			

Delete a brand protection.

REQUIRED

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

An Object of type StructOperationResponse

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