GroupDepartmentModifyRequest
Bases: OCIRequest
Modify a department of a group. The response is either a SuccessResponse or an ErrorResponse.
The following elements are only used in AS data mode:
callingLineIdName
caliingLineIdPhoneNumber
Attributes:
service_provider_id (str):
group_id (str):
department_name (str):
new_department_name (Optional[str]):
new_parent_department_key (Optional[Nillable[DepartmentKey]]):
calling_line_id_name (Optional[Nillable[str]]):
calling_line_id_phone_number (Optional[Nillable[str]]):
Source code in src/mercury_ocip/commands/commands.py
44449 44450 44451 44452 44453 44454 44455 44456 44457 44458 44459 44460 44461 44462 44463 44464 44465 44466 44467 44468 44469 44470 44471 44472 44473 44474 44475 44476 44477 44478 44479 44480 44481 44482 44483 44484 44485 44486 44487 44488 44489 44490 44491 44492 44493 44494 44495 44496 44497 44498 44499 44500 44501 44502 44503 44504 44505 44506 44507 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupDepartmentModifyRequest
client = Client()
command = GroupDepartmentModifyRequest(
service_provider_id=...,
group_id=...,
department_name=...,
new_department_name=...,
new_parent_department_key=...,
calling_line_id_name=...,
calling_line_id_phone_number=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupDepartmentModifyRequest",
service_provider_id=...,
group_id=...,
department_name=...,
new_department_name=...,
new_parent_department_key=...,
calling_line_id_name=...,
calling_line_id_phone_number=...,
)
print(response)