EnterpriseCallCenterCallDispositionCodeGetUsageListRequest
Bases: OCIRequest
Get the list of Call Centers and Route Points using the specified disposition code. The response is either EnterpriseCallCenterCallDispositionCodeGetUsageListResponse or ErrorResponse.
Attributes:
service_provider_id (str):
code (str):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class EnterpriseCallCenterCallDispositionCodeGetUsageListRequest(OCIRequest):
"""Get the list of Call Centers and Route Points using the specified disposition code.
The response is either EnterpriseCallCenterCallDispositionCodeGetUsageListResponse or ErrorResponse.
Attributes:
service_provider_id (str):
code (str):
"""
service_provider_id: str = field(metadata={"alias": "serviceProviderId"})
code: str = field(metadata={"alias": "code"})
|
Responses
Bases: OCIDataResponse
Response to the EnterpriseCallCenterCallDispositionCodeGetUsageListRequest. The Type column contains either "Call Center" or "Route Point". Contains a table with column headings: "Group Id", "Id", "Name" and "Type".
Attributes:
call_center_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class EnterpriseCallCenterCallDispositionCodeGetUsageListResponse(OCIDataResponse):
"""Response to the EnterpriseCallCenterCallDispositionCodeGetUsageListRequest.
The Type column contains either \"Call Center\" or \"Route Point\".
Contains a table with column headings: \"Group Id\", \"Id\", \"Name\" and \"Type\".
Attributes:
call_center_table (OCITable):
"""
call_center_table: OCITable = field(metadata={"alias": "callCenterTable"})
|
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import EnterpriseCallCenterCallDispositionCodeGetUsageListRequest
client = Client()
command = EnterpriseCallCenterCallDispositionCodeGetUsageListRequest(
service_provider_id=...,
code=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("EnterpriseCallCenterCallDispositionCodeGetUsageListRequest",
service_provider_id=...,
code=...,
)
print(response)