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
AllRecord/ GET — Retrieves a list of all record resources for the specified node and zone combination as well as all records from any object below that point on the zone hierarchy.

HTTP Action — GET

URIs

Retrieves all records from the zone — https://api.dynect.net/REST/AllRecord/<zone>

Retrieves all records from the node — https://api.dynect.net/REST/AllRecord/<zone>/<FQDN>/

Arguments:

No Arguments.

Response:

  • array — Individual record resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GetAllRecords — Retrieves a list of record resources for all records of any type at the specified node point or beneath the named node.
Arguments:

  • string tokenRequired. The session identifier.
  • string zoneRequired. Zone name of the records to retrieve.
  • string FQDN — Fully Qualified Domain Name of the records to retrieve. If specified, the records returned are limited to records found at or beneath this node.
Response — Click for More Info

Example Request — Click for More Info