Retrieving one or all existing PX 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.

See RFC 2163 for more information about PX records.
See RFC 822 for more information about the domain name part of MCGAM.

REST Syntax

Click to view all REST Resources
/REST/PXRecord/ GET — Retrieve one or all existing PX records on the zone/node indicated.

HTTP Action — GET

URIs:

Get one PX record — https://api.dynect.net/REST/PXRecord/<zone>/<fqdn>/<record_id>/

Get all PX records — https://api.dynect.net/REST/PXRecord/<zone>/<fqdn>/

Arguments:

No Arguments.

Response:

Get one PX record — Click for More Info

Get all PX records — array — Individual PX records.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GETOnePXRecord — Retrieve one existing PX record on the zone/node indicated.

GETPXRecords — Retrieve all existing PX records on the zone/node indicated.

Arguments:

GetOnePXRecord — Click for More Info

GetPXRecords — Click for More Info

Response:

GetOnePXRecord — Click for More Info

GetPXRecords — Click for More Info

Example Request (GetOnePXRecord) — Click for More Info

Example Request (GetPXRecords) — Click for More Info