# Subnet Details Provides the complete details of all the IP Addresses in the specified subnet. You would need to specify the Subnet address as a parameter for this operation. The following formats are supported: - [XML](https://www.manageengine.com/products/oputils/help/api/subnet_details.html#.xml_Format:1) - [JSON](https://www.manageengine.com/products/oputils/help/api/subnet_details.html#.json_Format:) ## XML Format | URL | http://localhost:7080/oputilsapi/ipam?&key=9a5525a4-d7d4-48aa-96fe-caa5ac524346&v=1&format=XML&operation=GET_SUBNET_DETAIL&subnetAddress=192.168.110.0 | |---|---| | **Parameters** | subnetAddress =
**Example:** ipAddress = 192.168.110.1 | | **Operation** | GET_SUBNET_DETAIL | | **Success Response** | ```xml Success GET_SUBNET_DETAIL 192.168.110.0 192.168.110.1 N/A Transient Not Reserved 18 Oct 13, 02:03 PM 192.168.110.2 N/A Transient Not Reserved 18 Oct 13, 02:03 PM ......... 192.168.110.253 N/A Transient Not Reserved 18 Oct 13, 02:03 PM ``` | | **Failure Response** | ```xml Failure Invalid Subnet. Please add the subnet and Try again. Failure Subnet Scan is in progress. Please wait for some time and Try again. ``` | ## JSON Format | URL | http://localhost:7080/oputilsapi/ipam?&key=9a5525a4-d7d4-48aa-96fe-caa5ac524346&v=1&format=JSON&operation=GET_SUBNET_DETAIL&subnetAddress=192.168.110.0 | |---|---| | **Parameters** | subnetAddress =
**Example:** ipAddress = 192.168.110.1 | | **Operation** | GET_SUBNET_DETAIL | | **Success Response** | ```json { "result":[ { "active-directory-name":"", "location":"", "connected-port-duplex":"", "phone-number":"", "last-alive-time":"18 Oct 13, 11:09 AM", "mygod":"", "authenticity":"", "serial-number":"", "reserved-status":"Not Reserved", "ip-address":"192.168.110.1", "connected-port-ifname":"", "dns-to-ip":"", "custColn":"", "cd-key":"", "alias-name":"", "status":"Used", "system-name":"", "connected-port-iftype":"", "dns-status":"Reverse Lookup Failed", "connected-switch":"", "last-scan-time":"18 Oct 13, 11:09 AM", "mac-address":"", "connected-switch-port":"", "nic-type":"", "connected-port-speed":"", "device-type":"", "connected-port-ifalias":"", "connected-port-ifindex":"", "ip-to-dns":"", "system-description":"", "owner":"", "connected-port-ifmtu":"", "last-modified-time":"", "asset-tag":"" }, { "active-directory-name":"", "location":"", "connected-port-duplex":"", "phone-number":"", "last-alive-time":"", "mygod":"", "authenticity":"", "serial-number":"", "reserved-status":"Not Reserved", "ip-address":"192.168.110.253", "connected-port-ifname":"", "dns-to-ip":"", "custColn":"", "cd-key":"", "alias-name":"", "status":"Transient", "system-name":"", "connected-port-iftype":"", "dns-status":"N/A", "connected-switch":"", "last-scan-time":"18 Oct 13, 11:09 AM", "mac-address":"", "connected-switch-port":"", "nic-type":"", "connected-port-speed":"", "device-type":"", "connected-port-ifalias":"", "connected-port-ifindex":"", "ip-to-dns":"", "system-description":"", "owner":"", "connected-port-ifmtu":"", "last-modified-time":"", "asset-tag":"" } ], "input":"{subnetAddress=192.168.110.0}", "status":"Success" } ``` | | **Failure Response** | ```json { "message":"Invalid Subnet. Please add the subnet and Try again.", "input":"{subnetAddress=192.168.110.0}", "status":"Failure" } ``` |