Retrieving one or all LOC 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 1876 for more information about LOC records.

REST Syntax

Click to view all REST Resources
/REST/KXRecord/ GET — Retrieves one or all existing LOC Records on the zone/node indicated.

HTTP Action — GET

URIs:

Get one LOC Record — https://api.dynect.net/REST/LOCRecord/<zone>/<fqdn>/<record_id>/

Get LOC Records — https://api.dynect.net/REST/LOCRecord/<zone>/<fqdn>/

Arguments:

No Arguments.

Response:

Get One LOC Record — Click for More Info

Get All LOC Records — Array of individual LOC record resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GetOneLOCRecord — Retrieves one existing LOC Record on the zone/node indicated.

GetLOCRecords — Retrieves all existing LOC Record on the zone/node indicated.

Arguments:

GetOneLOCRecord — Click for More Info

GetLOCRecords — Click for More Info

Response:

GetOneLOCRecord — Click for More Info

GetLOCRecords — Click for More Info

Example Request (GetOneLOCRecord) — Click for More Info

Example Request (GetLOCRecords) — Click for More Info