Retrieving one or more instances of the Traffic Director service 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
/REST/DSF/ GET — Retrieve a list of Traffic Director service resources or the details of the specified service.

HTTP Action — GET

URIs:

Get One Traffic Director (DSF) instance — https://api.dynect.net/REST/DSF/<service_id>/

Get all Traffic Director (DSF) instances — https://api.dynect.net/REST/DSF/

Arguments:

Get all Traffic Director (DSF) instances:

  • string label — Services with the specified label. Can be wild carded.
    NOTE: The wildcard character is an asterisk ( * ). For example, searching on ( test* ) will return any value with the word test followed by other characters. Some examples are: miketest123, test123, and testcase.
Response:

Get One Traffic Director (DSF) Instance — Click for More Info

  • array nodes — A list of zone and FQDN pairs to identify nodes that are attached to the Traffic Director service.
    • string zone — Name of the zone.
    • string fqdn — Fully qualified domain name of a node in the zone.

Get all Traffic Director (DSF) instances:
array — Individual Traffic Director service resources.

Dyn Logo

SOAP Syntax

 

Click to view all SOAP Commands
GetOneDSF — Retrieves the specified Traffic Director service.

GetDSFs — Retrieves the specified Traffic Director service.

Arguments:

GetOneDSF:

  • string service_idRequired. ID of the Traffic Director (DSF) Service.
  • string tokenRequired. The session identifier.

GetDSFs:

  • string label — Label used to describe the Traffic Director (DSF) service. Can be wild carded.
    NOTE: The wildcard character is an asterisk ( * ). For example, searching on ( test* ) will return any value with the word test followed by other characters. Some examples are: miketest123, test123, and testcase.
  • string tokenRequired. The session identifier.
Response:

GetOneDSF — Click for More Info

GetDSFs — Click for More Info

Example Request (GetOneDSF) — Click for More Info

Example Request (GetDSFs) — Click for More Info