Get Zones by Hint - BlueCat Address Manager - 8.2.0

Address Manager API Guide

BlueCat Address Manager

Returns an array of accessible zones of child objects for a given containerId value.

Output / Response

Returns an array of zones based on the input argument without their properties fields populated, or returns an empty array if containerId is invalid. If no access right option is specified, the View access level will be used by default.

API Call:

APIEntity[] getZonesByHint( long containerId, int start, int count, String options )
Parameter Description
containerId The object ID for the container object. It can be the object ID of any object in the parent object hierarchy. The highest parent object can be the configuration level.
start Indicates where in the list of objects to start returning objects. The list begins at an index of 0.
count Indicates the maximum number of child objects that this method will return. The maximum number of child objects cannot exceed more than 10.
options A string containing options. The Option names available in the ObjectProperties are ObjectProperties.hint, ObjectProperties.accessRight, and ObjectProperties.overrideType. Multiple options can be separated by a | (pipe) character. For example:
The values for ObjectProperties.hint option can be the prefix of a zone name. For example:
String options = ObjectProperties.hint + "=abc|"
The values for the ObjectProperties.accessRight and ObjectProperties.overrideType options must be one of the constants listed in Access Right Values and Object Types. For example:
String options = ObjectProperties.accessRight + "=" + AccessRightValues.AddAccess + 
"|"+ ObjectProperties.overrideType + "=" + ObjectTypes.HostRecord;