IPAM History

Provides the details on IPAM history. This operation do not require any additional parameter. The following formats are supported:

XML Format

URL http://localhost:7080/oputilsapi/ipam?&key=9a5525a4-d7d4-48aa-96fe-caa5ac524346&v=1&format=XML&operation=GET_IPAM_HISTORY&subnetAddress=192.168.22.0
Parameters

subnetAddress =<ip-address>
Example: ipAddress=192.168.110.0

Operation

GET_IPAM_HISTORY

Success Response

<resource>

  <status>Success</status>

  <input>

  <operation>GET_IPAM_HISTORY</operation>

  <subnetAddress>192.168.22.0</subnetAddress>

  </input>

  <output>

    <ips>

      <ip>

        <ip-address>192.168.22.239</ip-address>

        <generated-time>2013-10-18 14:30:37.496</generated-time>

        <dns-name>null</dns-name>

        <mac-address>A8:20:66:19:60:3E</mac-address>

        <device-type>null</device-type>

        <system-description>null</system-description>

        <location>null</location>

        <cd-key>null</cd-key>

        <serial-number>null</serial-number>

        <asset-tag>null</asset-tag>

        <phone-number>null</phone-number>

      </ip>

      <ip>

        <ip-address>192.168.22.232</ip-address>

        <generated-time>2013-10-18 14:30:37.496</generated-time>

        <dns-name>null</dns-name>

        <mac-address>5C:26:0A:4A:81:DD</mac-address>

        <device-type>null</device-type>

        <system-description>null</system-description>

        <location>null</location>

        <cd-key>null</cd-key>

        <serial-number>null</serial-number>

        <asset-tag>null</asset-tag>

        <phone-number>null</phone-number>

      </ip>

    </ips>

  </output>

</resource>

Failure Response

<resource>

  <status>Failure</status>

  <message>Invalid Subnet. Please add the subnet and Try again.</message>

</resource>

 

JSON Format

URL http://localhost:7080/oputilsapi/ipam?&key=9a5525a4-d7d4-48aa-96fe-caa5ac524346&v=1&format=JSONL&operation=GET_IPAM_HISTORY&subnetAddress=192.168.22.0
Parameters

subnetAddress =<ip-address>
Example: ipAddress=192.168.110.0

Operation

GET_IPAM_HISTORY

Success Response

{

   "result":[

      {

         "ip-address":"192.168.110.2",

         "dns-name":"192.168.110.2",

         "generated-time":"2013-10-01 17:33:57.053",

         "mac-address":"Device Removed"

      }

   ],

   "input":"{subnetAddress=192.168.110.0}",

   "status":"Success"

}

Failure Response

{

   "message":"Invalid Subnet. Please add the subnet and Try again.",

   "input":"{subnetAddress=192.168.110.0}",

   "status":"Failure"

}

Copyright © 2004-2012, ZOHO Corp. All Rights Reserved.
ManageEngine