ServiceProviderModifyRequest
Bases: OCIRequest
Modify the profile for a service provider or enterprise. The response is either a SuccessResponse or an ErrorResponse. The following elements are ignored in AS and XS data mode: servicePolicy, callProcessingSliceId, subscriberPartition.
The following element is only used in AS data mode and ignored
in XS data mode:
resellerId
resellerName
provisioningSliceId
The following element is only used by Reseller Administrator or Above:
resellerId
resellerName
Only Provisioning admin and above can change the preferredDataCenter and provisioningSliceId.
The following elements are only used in AS data mode and ignored in XS data mode:
defaultExtensionLength
locationRoutingPrefixDigit
locationCodeLength
Attributes:
service_provider_id (str):
default_domain (Optional[str]):
service_provider_name (Optional[Nillable[str]]):
support_email (Optional[Nillable[str]]):
contact (Optional[Contact]):
address (Optional[StreetAddress]):
use_service_provider_languages (Optional[bool]):
service_policy (Optional[Nillable[str]]):
call_processing_slice_id (Optional[Nillable[str]]):
provisioning_slice_id (Optional[Nillable[str]]):
subscriber_partition (Optional[Nillable[str]]):
preferred_data_center (Optional[Nillable[str]]):
default_extension_length (Optional[Nillable[int]]):
location_routing_prefix_digit (Optional[Nillable[int]]):
location_code_length (Optional[Nillable[int]]):
reseller_id (Optional[str]):
reseller_name (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
68170 68171 68172 68173 68174 68175 68176 68177 68178 68179 68180 68181 68182 68183 68184 68185 68186 68187 68188 68189 68190 68191 68192 68193 68194 68195 68196 68197 68198 68199 68200 68201 68202 68203 68204 68205 68206 68207 68208 68209 68210 68211 68212 68213 68214 68215 68216 68217 68218 68219 68220 68221 68222 68223 68224 68225 68226 68227 68228 68229 68230 68231 68232 68233 68234 68235 68236 68237 68238 68239 68240 68241 68242 68243 68244 68245 68246 68247 68248 68249 68250 68251 68252 68253 68254 68255 68256 68257 68258 68259 68260 68261 68262 68263 68264 68265 68266 68267 68268 68269 68270 68271 68272 68273 68274 68275 68276 68277 68278 68279 68280 68281 68282 68283 68284 68285 68286 68287 68288 68289 68290 68291 68292 68293 68294 68295 68296 68297 68298 68299 68300 68301 68302 68303 68304 68305 68306 68307 68308 68309 68310 68311 68312 68313 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import ServiceProviderModifyRequest
client = Client()
command = ServiceProviderModifyRequest(
service_provider_id=...,
default_domain=...,
service_provider_name=...,
support_email=...,
contact=...,
address=...,
use_service_provider_languages=...,
service_policy=...,
call_processing_slice_id=...,
provisioning_slice_id=...,
subscriber_partition=...,
preferred_data_center=...,
default_extension_length=...,
location_routing_prefix_digit=...,
location_code_length=...,
reseller_id=...,
reseller_name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("ServiceProviderModifyRequest",
service_provider_id=...,
default_domain=...,
service_provider_name=...,
support_email=...,
contact=...,
address=...,
use_service_provider_languages=...,
service_policy=...,
call_processing_slice_id=...,
provisioning_slice_id=...,
subscriber_partition=...,
preferred_data_center=...,
default_extension_length=...,
location_routing_prefix_digit=...,
location_code_length=...,
reseller_id=...,
reseller_name=...,
)
print(response)