Retrieving secondary zone information 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
Secondary/ GET — Retrieves information on one or all secondary zones.

HTTP Action — GET

URI(s):

Retrieve one Secondary Zone — https://api.dynect.net/REST/Secondary/<zone>/

Retrieve all Secondary Zones — https://api.dynect.net/REST/Secondary

Arguments:

No Arguments.

Response:

One Secondary Zone — Click for More Info

All Secondary Zones — array of Secondary zone resources

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GetOneSecondary — Retrieves information on one secondary zone.

GetSecondaries — Retrieves information on all existing secondary zones.

Arguments:

GetOneSecondary:

  • string tokenRequired. The session identifier.
  • string zoneRequired. Name of zone to get information about.

GetSecondaries:

  • string tokenRequired. The session identifier.
Response:

GetOneSecondary — Click for More Info

GetSecondaries — Click for More Info

Example Request (GetOneSecondary) — Click for More Info

Example Request (GetSecondaries) — Click for More Info