Get IPv4 range by IP address - BlueCat Integrity - 9.4.0

Address Manager API Guide

Product name
BlueCat Integrity

Return the DHCP range containing the specified IPv4 address. Use the generic getIPRangedByIP method to find the configuration, IPv4 block, IPv4 network, or DHCP range containing a specified address. You can specify the type of object to be returned, or you can leave the type of object empty to find the most direct container for the object.

API method: GET /v1/getIPRangedByIP

Output / Response: Returns an APIEntity for the object containing the specified address. If no object is found, returns an empty APIEntity. If you specify ObjectTypes.IP4Block, ObjectTypes.IP4Network, or ObjectTypes.DHCP4Range as the type parameter, returns an object of the specified type. If you specify an empty string ("") as the type parameter, returns the most direct container for the IPv4 address.