Find IP Addresses

IP addresses are represented as strings in the CAM REST API. For best results, use these operators to filter by IP address: like, eq (equals), and ne (not equals).

IP addresses are sorted numerically.

Filter examples:

  • To find IP addresses that start with 240.0:

                                        http://{your-server}/cam/api/v1/hardware/computers?filter=primaryIpAddress like "240.0*"
  • To find all machines with a certain subnet:
    http://{your-server}/cam/api/v1/network/snmp?filter=IpAddress like "10.10.76.*"
  • To find an exact IP address:
    http://{your-server}/cam/api/v1/network/snmp?filter=IpAddress eq ""