POST /v1/addResourceRecord - BlueCat Address Manager - 9.2.0

Address Manager API Guide

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

Description

Add resource records. This method is a generic method for adding resource records of any kind by specifying the name, type, and rdata arguments.

Parameters

Name Description
absoluteName

Location: query

Type: string

The absolute name of the record, specified as an FQDN. If you are adding a record in a zone that is linked to a incremental naming policy, you must add a single hash sign (#) at the appropriate location in the FQDN. Depending on the policy order value, the location of the single hash sign varies.
properties

Location: query

Type: string

Adds object properties, including user-defined fields.
rdata

Location: query

Type: string

The data for the resource record in BIND format. For example, an A record in the format A 10.0.0.4. You can specify either a single IPv4 or IPv6 address for the record.
ttl

Location: query

Type: integer (int64)

The time-to-live (TTL) value for the record. To ignore the TTL, set the value to -1.
Note: Starting in Address Manager API v9.2.0, this parameter is now required.
type

Location: query

Type: string

The type of record being added. Valid values for this parameter are the resource record types shown in Object Types:
  • AliasRecord
  • HINFORecord
  • HostRecord
  • MXRecord
  • TXTRecord
Note: To add NAPTRRecord, SRVRecord, and GenericRecord, you must use addNAPTRRecord, addSRVRecord, and addGenericRecord methods respectively.
viewId

Location: query

Type: integer (int64)

The object ID for the parent view where you wish to add the resource record.
Note: Starting in Address Manager API v9.2.0, this parameter is now required.

Responses

Code Description
201

Type: number

Returns the object ID for the new resource record.