POST request example - BlueCat Integrity - 9.4.0

Address Manager API Guide

Locale
English
Product name
BlueCat Integrity
Version
9.4.0

All add-related API methods use the POST method in REST API. This example uses addEntity to add a View object.

API call example
http://<AddressManager_IP>/Services/REST/v1/addEntity?parentId=100936

Authorization: BAMAuthToken: UTtSjMTQ1ODAzMTgzMDUxMzphcGk=
Content-Type: application/json
{
    "id":0,
    "name":"testView",
    "type":"View",
    "properties":""
}
Parameters
Parameter Description
parentId For configurations, always set the parentId value to zero (0), which is the root element.
body The configuration object—including its name, sharedNetwork, and user-defined fields—is passed in the HTTP body.

Successful response

Returns the character sequence representing the object ID of the new entity, for example:
100936