Enumerating Regions in JSON-RPC API
You can get the list of geographic regions, using the EnumerateRegions
method.
Required parameters
This method has no required or optional parameters and does not require a visa.
Sample request
{ "jsonrpc":"2.0", "id":"jsonrpc", "method" : "EnumerateRegions", }
Sample response
{ "id": "jsonrpc", "jsonrpc": "2.0", "result": { "result": [ { "Id": 1, "Name": "USA" }, { "Id": 2, "Name": "Canada" }, { "Id": 3, "Name": "UK" }, { "Id": 4, "Name": "Germany" }, { "Id": 5, "Name": "France" }, { "Id": 6, "Name": "Netherlands" }, { "Id": 7, "Name": "Belgium" }, { "Id": 8, "Name": "Other" }, { "Id": 9, "Name": "Australia" } ] }, "visa": "{{visa}}" }