GroupDepartmentGetListRequest18
Bases: OCIRequest
Request a list of departments in a group. You may request only the list of departments defined at the group-level, or you may request the list of all departments in the group including all the departments defined within the enterprise the group belongs to. The response is either GroupDepartmentGetListResponse18 or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
include_enterprise_departments (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to GroupDepartmentGetListRequest18. Contains a table of department attributes. The column headings are: "Is Enterprise Department", "Department Name", "Full Path Name", "Calling Line Id Name", and "Calling Line Id Phone Number"
Attributes:
department_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupDepartmentGetListRequest18
client = Client()
command = GroupDepartmentGetListRequest18(
service_provider_id=...,
group_id=...,
include_enterprise_departments=...,
)
response = client.command(command)
print(response)