Retrieving a list of zone records using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources

ANYRecord/ GET — Retrieves a list of all record resources for the specified node, zone, and FQDN combination.

HTTP Action — GET

URI — https://api.dynect.net/REST/ANYRecord/<zone>/<FQDN>/

Arguments:

No Arguments.

Response:

  • array — Individual record resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

GetANYRecords — Retrieves a list of all record resources for the specified node, zone, and FQDN combination.

Arguments:

  • string FQDNRequired. Fully Qualified Domain Name of the records to retrieve.
  • string tokenRequired. The session identifier.
  • string zoneRequired. Zone name of the records to retrieve.
Response — Click for More Info

Example Request — Click for More Info