Retrieving one or all Geo Region Groups (classic) 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.

Please use the ISO-3166 two letter codes for assigning countries to groups.

 

NOTE: The Geo Traffic Management (classic) Service is deprecated. Legacy users of the service should contact Concierge for any questions on adding a Geo Traffic Management service to your zone. All other users should use Traffic Director instead.

REST Syntax

Click to view all REST Resources

/REST/GeoRegionGroup/ GET — Retrieve one or all Geo Region Group(s).

HTTP Action — GET

URIs:

Get one Geo Region Group — https://api.dynect.net/REST/GeoRegionGroup/<service_name>/<group_name>/

Get all Geo Region Groups — https://api.dynect.net/REST/GeoRegionGroup/<service_name>/

Arguments:

Get one Geo Region Group — No Arguments.

Get all Geo Region Groups —

string detail — a boolean indicating whether or not to return the full details or a list of service resources.
Y indicates all details for each service are specified.
N indicates only a list of service resources is returned. Default value.

Response:

Get one Geo Region Group —

  • string name — Name of the Region Group.
  • array countries — List of ISO-3166 codes to represent the names of countries and their subdivisions.
  • array rdata — The RData to be served for the Region Group.
  • string service_name — The name of the service where the Region Group(s) exist.

Get all Geo Region Groups —

array — Individual Geo Region Group service resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

GetOneGeoRegionGroup — Retrieves data from the Geo service for a single Region Group

GetGeoRegionGroups — Retrieves information about all the existing Region Groups for the specified Geo service.

Arguments:

GetOneGeoRegionGroup —

  • string service_nameRequired. Name of the Geo service where the Region Groups exist.
  • string nameRequired. Name of the Region Group.
  • string tokenRequired. The session identifier.

GetGeoRegionGroups —

  • string service_nameRequired. Name of the Geo service where the Region Groups exist.
  • string tokenRequired. The session identifier.
Response:

GetOneGeoRegionGroup — Click for More Info

GetGeoRegionGroups — Click for More Info

Example Request (GetOneGeoRegionGroup) — Click for More Info

Example Request (GetGeoRegionGroups) — Click for More Info