Cisco Unity Connection Provisioning Interface (CUPI) API -- For End Users -- Location
From DocWiki
Links to Other API pages: Cisco_Unity_Connection_APIs
| CUPI for End Users Guide Contents |
| API Overview Basics, Voice Name, Greetings Unified Messaging Accounts Alternate Devices Directory Enabling and Disabling Greetings Location Private Lists SMTP Proxy Addresses System Configuration Transfer Options |
Contents |
About Location
This page contains information on how to use the API to list the details of your location when using CUPI for Users. The location object holds several critical pieces of information, but only select pieces of information are exposed to the end user through this URI.
Listing and Viewing
The following is an example of a GET that lists your location:
GET http://<connection-server>/vmrest/user/location
The following is an example of the response from the above GET request:
200 OK <?xml version="1.0" encoding="UTF-8"?> <ConnectionLocation> <DefaultWaveFormatObjectId>cb85b520-e2de-4878-96e2-3331607f4671</DefaultWaveFormatObjectId> <DefaultWaveFormatURI>/vmrest/waveformats/cb85b520-e2de-4878-96e2-3331607f4671</DefaultWaveFormatURI> <DisplayName>cuc-install-43</DisplayName> </ConnectionLocation>
The default wave format is the wave format that your recorded messages are stored in.