Retrieving the Zone Transfer status 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 |
| /REST/ZoneTransfer/ GET -- Retrieves information from the zone's transfer task.HTTP Action -- GETURI -- https://api.dynect.net/REST/ZoneTransfer/<zonename>/ |
| Arguments -- No arguments. |
Response -- Click for More Info- string
master_ip -- IP address of the master server where the zone originated. - string
status -- The status of the task. Valid values: ready running waiting failed canceled unpublished ok - string
message -- On failure, a brief message explaining the failure.
|

SOAP Syntax
| Click to view all SOAP Commands |
| ZoneTransferStatus -- Retrieves the status of the zone transfer task. |
Arguments:- string
zone -- Required. Name of the zone.
|
Response -- Click for More Info- string
master_ip -- IP address of the master server where the zone originated. - string
status -- The status of the task. Valid values: ready running waiting failed canceled unpublished ok - string
message -- On failure, a brief message explaining the failure.
|
Example Request -- Click for More Info{
'zone' => 'www.example.com',
}
|