Reference: IPv4 address importEntities files - BlueCat Integrity - 9.5.0

Address Manager Legacy v1 API Guide

Locale
English
Product name
BlueCat Integrity
Version
9.5.0

The following examples are valid CSV and JSON files that can be used when importing IPv4 addresses into the Address Manager database with POST /v1/importEntities.

Example CSV file for type IP4Address (with user-defined fields text1, long1, email1, boolean1, date1, int1)

Note: Including a host_name, zone_fqdn, and view will automatically create a host record for the specified zone and link it to the address. Including a macaddress will also create a MAC address object and link it to the address. Ensure that the view and zone exist in Address Manager before importing addresses with host record auto-creation fields.
Note: If a macaddress is included, the assignment of the IPv4 address will depend on whether the entity contains a single address or multiple addresses. If the entity contains a single address (i.e. "addresses":"12.1.0.5"), the address will be assigned as DHCP Reserved (assuming no other DHCP reserved addresses on the network already use the same MAC address, in which case the import would be blocked). If the entity contains multiple addressses (i.e. "addresses":"12.1.0.5,12.1.0.6,15.0.0.7"), the addresses will each be assigned as Static (with the same MAC address associated).
Note: Ensure that user-defined fields exist in Address Manager before importing addresses with UDF values.
host_name addresses name zone_fqdn view reverse_mapping macaddress text1 long1 email1 boolean1 date1 int1
  "12.1.0.5,12.1.0.6,12.2.0.5" namexxx       20-00-00-00-00-10   99999   TRUE 2008-01-01  
h1 "12.2.0.11,12.1.0.11"   zone001.com default False 20-00-00-00-00-05     e1@xxx.com     5
host3 12.2.0.21   zone002.com default true 23-00-00-00-00-05   11   FALSE    

Example JSON file for type IP4Address (with user-defined fields text1, long1, email1, boolean1, date1, int1)

{"date1":"2008-01-01","addresses":"12.1.0.5,12.1.0.6,12.2.0.5","name":"namexxx","boolean1":"TRUE","macaddress":"20-00-00-00-00-10","long1":99999}
{"addresses":"12.2.0.11,12.1.0.11","view":"default","zone_fqdn":"zone001.com","macaddress":"20-00-00-00-00-05","email1":"e1@xxx.com","int1":5,"host_name":"h1"}
{"addresses":"12.2.0.21","view":"default","boolean1":FALSE,"zone_fqdn":"zone002.com","macaddress":"23-00-00-00-00-05","long1":"11","host_name":"host3"}