SystemCountryCodeGetListRequest
Bases: OCIRequest
Request data for all country codes. The response is either a SystemCountryCodeGetListResponse or an ErrorResponse.
Attributes:Source code in
src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to a SystemCountryCodeGetListRequest. Contains the default country code and a table with one row per country code. The table columns are "Country Code", "Country Name", "Off Hook Warning Seconds", "Ring Period Milliseconds", "National Prefix", "Use Prefix", "Maximum Call Waiting Tones", "Time Between Call Waiting Tones Milliseconds" and "Disable National Prefix for OffNet Calls".
The following columns are only returned in AS data mode:
"Disable National Prefix for OffNet Calls"
Attributes:
default_country_code (str):
country_code_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemCountryCodeGetListRequest
client = Client()
command = SystemCountryCodeGetListRequest()
response = client.command(command)
print(response)