Add MX Record - BlueCat Address Manager - 8.3.2

Address Manager API Guide

prodname
BlueCat Address Manager
version_custom
8.3.2

Adds MX records.

This method will add the record under a zone. In order to add records under templates, you must use Add Entity for Resource Records.

Output / Response

Returns the object ID for the new MX resource record.

API call:

long addMXRecord ( long viewId, String absoluteName, int priority, String linkedRecordName, long ttl, String properties )
Parameter Description
viewId The object ID for the parent view to which the MX record is being added.
absoluteName The FQDN for the record. If you are adding a record in a zone that is linked to a incremental Naming Policy, a single hash (#) sign must be added at the appropriate location in the FQDN. Depending on the policy order value, the location of the single hash (#) sign varies.
priority Specifies which mail server to send clients to first when multiple matching MX records are present. Multiple MX records with equal priority values are referred to in a round-robin fashion.
linkedRecordName The FQDN of the host record to which this MX record is linked.
ttl The time-to-live value for the record. To ignore the ttl, set this value to -1.
properties Adds object properties, including comments and user-defined fields.