Retrieving unpublished zone changes 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.

NOTE: The changes identified in the Zone ChangeSet last only as long as your current session, unless they are published.

REST Syntax

Click to view all REST Resources

ZoneChanges/ GET — Retrieves changes to the specified zone that have been created during the current session, but are not yet published to the zone.

HTTP Action — GET

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

Arguments:

No Arguments.

NOTE: Each response will contain the basic structure for all record types, but only the record type designated by the rdata_type field content.
Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

GetZoneChangeSet — Retrieves changes to the specified zone that have been created during the current session, but are not yet published to the zone.

Arguments:

string tokenRequired. The session identifier.

string zoneRequired. Name of zone where pending changes will be retrieved.

NOTE: Each response will contain the basic structure for all record types, but only the record type designated by the rdata_type field content.
Response — Click for More Info

Example Request — Click for More Info