ServiceProviderPreferredCarrierModifyRequest
Bases: OCIRequest
Modify the country code preferred carriers for a service provider or enterprise. For each combination of service provider and country code, you can assign an intra-lata, inter-lata, and international carrier. Each of the 3 types of carriers is optional. If an optional carrier is not specified, the assignment will not change. To clear a preferred carrier, set the value to an empty string. The response is either a SuccessResponse or an ErrorResponse. Note: At the system level, more than one carrier may be assigned to each country code. At the service provider level, you must choose from the carriers assigned at the system level.
Attributes:
service_provider_id (str):
country_code (str):
intra_lata_carrier (Optional[Nillable[str]]):
inter_lata_carrier (Optional[Nillable[str]]):
international_carrier (Optional[Nillable[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
69190 69191 69192 69193 69194 69195 69196 69197 69198 69199 69200 69201 69202 69203 69204 69205 69206 69207 69208 69209 69210 69211 69212 69213 69214 69215 69216 69217 69218 69219 69220 69221 69222 69223 69224 69225 69226 69227 69228 69229 69230 69231 69232 69233 69234 69235 69236 69237 69238 69239 69240 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import ServiceProviderPreferredCarrierModifyRequest
client = Client()
command = ServiceProviderPreferredCarrierModifyRequest(
service_provider_id=...,
country_code=...,
intra_lata_carrier=...,
inter_lata_carrier=...,
international_carrier=...,
)
response = client.command(command)
print(response)