Get protection list

				
					array brandProtectionList(string IDSession, array filters)
				
			

List brand protections matching filters

REQUIRED

  • idSession string (32)
    Session ID
OPTIONAL

  • filters array
    Search filters
  • Available filter keys:

    • id (Brand protection ID)
    • labels (Brand protection labels)
    • dateCreate (Brand protection creation date)
    • dateExpiration (Brand protection expiration date)
    • status (Brand protection status)
    • idOwner (Brand protection owner ID)li>

    For more information on filters for list functions, please consult the corresponding page.

An Array of brand protections, each containing the following keys :

  • id (Brand protection ID)
  • labels (Brand protection labels)
  • dateCreate (Brand protection creation date)
  • dateExpiration (Brand protection expiration date)
  • status (Brand protection status)
  • idOwner (Brand protection owner ID)li>
$clientSOAP = new SoapClient("http://URL.wsdl");

try {
    $idSession = $clientSOAP->sessionOpen("XX000", "xxxxxxxx");
    $filters = [
        'label' => ['LIKE' => 'domain%'],
        'dateCreate' => ['>' => '2023-10-02'],
    ];

    $result = $clientSOAP->brandProtectionList($idSession, $filters);

} catch (SoapFault $fault) {
    echo "Exception : " . $fault->getMessage() . "\n";
}

if (isset($idSession)) {
    $clientSOAP->sessionClose($idSession);
}