addEntity() is a generic method for adding configurations, DNS zones, and DNS resource records. Use this method to add resource records that have . (dot) characters in their names.
Note: In order to add DNS resource records to a DNS zone template, you must use the
addEntity() method.
Output / Response
Returns the object ID for the new resource record.
API Call:
long addEntity( long parentId, APIEntity
entity )
Parameter | Description |
---|---|
parentId | The object ID of the parent zone to which the record is added. |
APIEntity | The resource record object being passed to the database. |