GroupAccountAuthorizationCodesModifyRequest
Bases: OCIRequest
Change the group's account/authorization codes setting. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
code_type (Optional[str]):
number_of_digits (Optional[int]):
allow_local_and_toll_free_calls (Optional[bool]):
mandatory_usage_user_id_list (Optional[Nillable[ReplacementUserIdList]]):
optional_usage_user_id_list (Optional[Nillable[ReplacementUserIdList]]):
Source code in src/mercury_ocip/commands/commands.py
32403 32404 32405 32406 32407 32408 32409 32410 32411 32412 32413 32414 32415 32416 32417 32418 32419 32420 32421 32422 32423 32424 32425 32426 32427 32428 32429 32430 32431 32432 32433 32434 32435 32436 32437 32438 32439 32440 32441 32442 32443 32444 32445 32446 32447 32448 32449 32450 32451 32452 32453 32454 32455 32456 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupAccountAuthorizationCodesModifyRequest
client = Client()
command = GroupAccountAuthorizationCodesModifyRequest(
service_provider_id=...,
group_id=...,
code_type=...,
number_of_digits=...,
allow_local_and_toll_free_calls=...,
mandatory_usage_user_id_list=...,
optional_usage_user_id_list=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupAccountAuthorizationCodesModifyRequest",
service_provider_id=...,
group_id=...,
code_type=...,
number_of_digits=...,
allow_local_and_toll_free_calls=...,
mandatory_usage_user_id_list=...,
optional_usage_user_id_list=...,
)
print(response)