phpipam-api-clients icon indicating copy to clipboard operation
phpipam-api-clients copied to clipboard

Can't get any subnet with php client

Open Neurozone opened this issue 6 years ago • 1 comments

When I try:

$API->execute ("GET", "subnets", array("cidr", $full_subnet), array(), $token_file);

$full_subnet = '192.168.136.64/26'

here is the parameters of the api :

Array ( [id] => cidr [id2] => 192.168.136.64/26 [controller] => subnets )

I get the following result :

( [code] => 200 [success] => 0 [message] => No subnets found [time] => 0.007 )

The subnet exist in php ipam

Auth with crypt and api key

Neurozone avatar Aug 30 '17 08:08 Neurozone