POST request example - BlueCat Address Manager - 9.0.0

Address Manager API Guide

Locale
English (United States)
Product name
BlueCat Address Manager
Version
9.0.0

All add operation related API methods use the POST method in REST API. In this example, addEntity will be used to add a View object.

API call example:
http://<AddressManager_IP>/Services/REST/v1/addEntity?parentId=100936
URL path:
  • /addEntity
Parameters:
Parameter Description
parentId

For configurations, always set the parentId value to 0 (zero), which is the root element.

entity The configuration object, including its name, sharedNetwork, and user-defined fields (entity will be passed in HTTP Body as JSON)
HTTP Header:
  • Authorization: BAMAuthToken: UTtSjMTQ1ODAzMTgzMDUxMzphcGk=
  • Content-Type: application/json
HTTP Body:
  • JSON containing information for adding a view.
{
"id":0,
"name":"testView",
"type":"View",
"properties":""
}

Response

Returns the character sequence representing the object ID of the new entity.
100936