/mcp200 OK <?xml version="1.0" encoding="UTF-8"?> <PortGroups total="1"> <PortGroup> <URI>/vmrest/portgroups/035853ce-f4e6-4de2-bda2-84acf827a555</URI> <MediaPortGroupTemplateObjectId>90dd306f-b8af-46b6-8289-f13437cc1e5e</MediaPortGroupTemplateObjectId> <MediaSwitchObjectId>05186ad4-572c-48d1-aaa6-ac22280c8702</MediaSwitchObjectId> <PhoneSystemURI>/vmrest/phonesystems/05186ad4-572c-48d1-aaa6-ac22280c8702</PhoneSystemURI> <TelephonyIntegrationMethodEnum>1</TelephonyIntegrationMethodEnum> <EnableMWI>true</EnableMWI> <DisplayName>PhoneSystem-1</DisplayName> <CcmDoAutoFailback>true</CcmDoAutoFailback> <MwiOnCode/> <MwiOffCode/> <MwiRetryCountOnSuccess>0</MwiRetryCountOnSuccess> <MwiRetryIntervalOnSuccessMs>5</MwiRetryIntervalOnSuccessMs> <ObjectId>035853ce-f4e6-4de2-bda2-84acf827a555</ObjectId> <SipTransportProtocolEnum>10</SipTransportProtocolEnum> <SipRegisterWithProxyServer>false</SipRegisterWithProxyServer> <SipDoAuthenticate>false</SipDoAuthenticate> <SkinnyDevicePrefix>test-VI</SkinnyDevicePrefix> <MwiMinRequestIntervalMs>0</MwiMinRequestIntervalMs> <MwiMaxConcurrentRequests>0</MwiMaxConcurrentRequests> <MediaSwitchDisplayName>PhoneSystem</MediaSwitchDisplayName> <PortCount>2</PortCount> <SipDoSRTP>true</SipDoSRTP> <SipTLSModeEnum>11</SipTLSModeEnum> <ResetStatusEnum>0</ResetStatusEnum> </PortGroup> </PortGroups> Sorting can be done on columns that are indexed, such as display name. To retrieve a sorted list of all port groups, add the following query parameter: sort=(column [asc|desc]) For example, to retrieve a list of all port groups sorted by display name in descending order: GET http://<connection-server>/vmrest/portgroups?sort=(DisplayName%20desc) To retrieve a specific port group by its object ID: GET http://<connection-server>/vmrest/portgroups/<objectid> Similarly, to retrieve a list of all ports, use: GET http://<connection-server>/vmrest/ports The following is the response from the above GET request: Cisco Unity Connection Provisioning Interface (CUPI) API 763 Cisco Unity Connection Provisioning Interface (CUPI) API for Telephony Integrations Listing and Viewing