SystemDeviceTypeGetAvailableListRequest22V2
Bases: OCIRequest
Requests a list of non-obsolete Identity/device profile types defined in the system and resellers. It is possible to get either all conference device types or all non-conference types. This command is similar to the SystemSIPDeviceTypeGetListRequest and SystemMGCPDeviceTypeGetListRequest but gets both SIP and MGCP types. If excludeReseller is specified, only system level available device types are returned. If resellerId is specified, all the system level available device types and the device types in the given reseller are returned. If reseller administrator sends the request, resellerId is not specified, the administrator's resellerId is used. If neither excludeReseller nor resellerId is specified, all the system level and reseller level available device types are returned. If excludeLeafDeviceTypes is specified, leaf device types are excluded in the response returned. Leaf device types are device types that have the option supportLinks set to "Support Link to Device" or "Support Link to Device and User". If onlyTreeDeviceTypes is specified, all available tree device types are returned. Tree device types are device types that have the option supportLinks set to "Support Links from Devices".
The following elements are only used in AS data mode and ignored in the XS data mode:
resellerId
excludeLeafDeviceTypes
onlyTreeDeviceTypes
The response is either SystemDeviceTypeGetlAvailableListResponse22V2 or ErrorResponse.
Attributes:
allow_conference (bool):
allow_music_on_hold (bool):
only_conference (bool):
only_video_capable (bool):
only_optional_ip_address (bool):
exclude_reseller (Optional[bool]):
reseller_id (Optional[str]):
exclude_leaf_device_types (Optional[bool]):
only_tree_device_types (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
85628 85629 85630 85631 85632 85633 85634 85635 85636 85637 85638 85639 85640 85641 85642 85643 85644 85645 85646 85647 85648 85649 85650 85651 85652 85653 85654 85655 85656 85657 85658 85659 85660 85661 85662 85663 85664 85665 85666 85667 85668 85669 85670 85671 85672 85673 85674 85675 85676 85677 85678 85679 85680 85681 85682 85683 85684 85685 85686 85687 85688 85689 85690 85691 85692 85693 85694 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemDeviceTypeGetAvailableListRequest22V2
client = Client()
command = SystemDeviceTypeGetAvailableListRequest22V2(
allow_conference=...,
allow_music_on_hold=...,
only_conference=...,
only_video_capable=...,
only_optional_ip_address=...,
exclude_reseller=...,
reseller_id=...,
exclude_leaf_device_types=...,
only_tree_device_types=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("SystemDeviceTypeGetAvailableListRequest22V2",
allow_conference=...,
allow_music_on_hold=...,
only_conference=...,
only_video_capable=...,
only_optional_ip_address=...,
exclude_reseller=...,
reseller_id=...,
exclude_leaf_device_types=...,
only_tree_device_types=...,
)
print(response)