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.
Understanding How The API Works »
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:
|
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:
|
Response — Click for More Info
|
Example Request — Click for More Info
{ 'token' => 'asdlkfjasl23j4879afa', 'zone' => 'example.com', } |