Understanding How The API Works »
Creating an instance of a Geo Region Group (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.
REST Syntax | Associated API Topics |
SOAP Syntax | Update Geo Region Group (API) |
Get Geo Region Group(s) (API) | |
Delete Geo Region Group (API) |
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/ POST — Create a region group on an existing instance of the on the zone/node indicated.
HTTP Action — POST URI — https://api.dynect.net/REST/GeoRegionGroup/<service_name>/<group_name>/ |
Arguments — Click for More Info
Note: Each element in the following rdata arrays is a hash containing the string elements that follow the rdata array.
|
Response — Click for More Info
|
SOAP Syntax
Click to view all SOAP Commands |
CreateGeoRegionGroup — Create a new region group on an existing instance of the Geo service. |
Arguments — Click for More Info
Note: Each element in the following rdata arrays is a hash containing the string elements that follow the rdata array.
|
Response — Click for More Info
|
Example Request — Click for More Info
{ 'service_name' => 'Example Geo', 'name' => 'simplegroup', 'countries' => ['US'], 'rdata' => { 'a_rdata' => [ { 'address' => '9.9.9.9',}, ], }, 'ttl' => { 'a_ttl' => '900' }, 'token' => 'asdlj34ot879834cdzjklfK', } |