/mcp<VmsServerName>cuc-install-55</VmsServerName> </Port> </Ports> Finally, to retrieve a specific port by its object ID, use: GET http://<connection-server>/vmrest/ports/<objectid> Searching To retrieve a list of port groups or ports that meet a specified search criteria, add the following query parameter to a GET: query=(column [is|startswith] value) Note that the search column must either be an indexed column or contain boolean values. For example, to find all port groups with a display name that starts with "PhoneSystem": GET http://<connection-server>/vmrest/portgroups?query=(displayname%20startswith%20PhoneSystem) The next example finds all port groups with a EnableMwi that is set to 1 (i.e., enabled): GET http://<connection-server>/vmrest/portgroups?query=(EnableMWI%20is%201) Updating Ports are read-only resources and cannot be updated. Port groups, however, contain two fields, MwiOnCode and MwiOffCode, that can be updated. The following is an example of a PUT request that modifies these fields of an existing port group: PUT https://<connection-server>/vmrest/portgroups/<objectid> <PortGroup> <MwiOnCode>678</MwiOnCode> <MwiOffCode>876</MwiOffCode> </PortGroup> The following is the response from the above PUT request: 204 No Content null Cisco Unity Connection Provisioning Interface (CUPI) API 765 Cisco Unity Connection Provisioning Interface (CUPI) API for Telephony Integrations Searching