get getCountries
http://api-conserver.onlinesim.io/stubs/handler_api.php?action=getCountries
This request returns a set of data needed for ordering a number on our service.
You can also use it to retrieve a list of all available countries with detailed information of their ID and available services.
Security
Parameters
action
Required
Method name, in this case `getCountries`
In:
query
Schema:
- stringExample:
"getCountries"
Enum:getCountries
Global params
Responses
200
Successful `getCountries` response from the server: either returns a list of available countries with information on available services or throws an exception.
Content Type:
application/json
- Schema
- Examples
- objectExample:
{"#countryCode#":{"id":43,"rus":"Германия","eng":"Germany","chn":"德国","visible":1,"retry":0,"rent":1,"multiService":0}}
Properties:#countryCode#
objectCountry code (Е.164 standard, without "+" sign)Example:{"id":43,"rus":"Германия","eng":"Germany","chn":"德国","visible":1,"retry":0,"rent":1,"multiService":0}