UserPreferredAnswerEndpointGetListRequest
Bases: OCIRequest
Requests the list of device endpoints of a user that can be configured as Preferred Answer Endpoint for Auto-Answer and Forced Answer. If onlyDisplayPreferredAnswerEndpoint is specified, only the Preferred Answer Endpoint of user is returned in the response.
The response is either UserPreferredAnswerEndpointGetListResponse or ErrorResponse.
Attributes:
user_id (str):
only_display_preferred_answer_endpoint (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserPreferredAnswerEndpointGetListRequest. Contains a table of devices associated to a user that can be configured as Preferred Answer Endpoint. The column headings are: "Line Port", "Endpoint Type", "Is Preferred Answer Endpoint", "Device Name", "Device Level", "Device Type". The value of the "Endpoint Type" column is either Primary, Shared Call Appearance or Flexible Seating Guest.
Attributes:
access_device_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserPreferredAnswerEndpointGetListRequest
client = Client()
command = UserPreferredAnswerEndpointGetListRequest(
user_id=...,
only_display_preferred_answer_endpoint=...,
)
response = client.command(command)
print(response)