Skip to end of metadata
Go to start of metadata

Use the getPolicyIDs API to retrieve a list of policy IDs.

########====CDP Server Configuration Start====######## #set CDP server host name $HOST="10.230.131.25"; #set CDP server to access API $PORT="9443"; #set CDP user $USER="admin"; #set CDP user password $PASS="admin"; ########====CDP Server Configuration End====######## #Retrieve a list of policy IDs. try{ $client = new soapclient("https://$HOST:$PORT/Policy2?wsdl", array( 'login'=>"$USER", 'password'=>"$PASS", 'trace'=>1, 'cache_wsdl' => WSDL_CACHE_NONE, 'features' => SOAP_SINGLE_ELEMENT_ARRAYS, 'classmap'=>array('Policy'=>'Policy') ) ); $response=$client->getPolicyIDs(array()) ; var_dump($response); echo "Successfully executed getPolicyIDs.php\n"; } catch (SoapFault $exception) { echo $exception; exit(1); } exit(0); }

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.