Cisco Unity Connection Provisioning Interface (CUPI) API -- For End Users -- SMTP Proxy Addresses

From DocWiki

Revision as of 23:05, 13 December 2010 by Gscorbin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 SMTP Proxy Addresses

This page contains information on how to use the API to list SMTP Proxy Addresses for a user.

Listing and Viewing

The following is an example of a GET that lists all SMTP Proxy Addresses for a user:

GET http://<connection-server>/vmrest/user/smtpproxyaddresses

The following is the response from the above GET request:

200
OK
<?xml version="1.0" encoding="UTF-8"?>
<SmtpProxyAddresses>
  <SmtpProxyAddress>
    <URI>/vmrest/user/smtpproxyaddresses/9fd21b87-1509-42f1-88ce-3f36122c68ee</URI>
    <ObjectId>9fd21b87-1509-42f1-88ce-3f36122c68ee</ObjectId>
    <SmtpAddress>somedude@somewhere.com</SmtpAddress>
  </SmtpProxyAddress>
  <SmtpProxyAddress>
    <URI>/vmrest/user/smtpproxyaddresses/fc107ad8-b9e5-409e-b0bc-62e295c7532e</URI>
    <ObjectId>fc107ad8-b9e5-409e-b0bc-62e295c7532e</ObjectId>
    <SmtpAddress>someotherdude@somewhereelse.com</SmtpAddress>
  </SmtpProxyAddress>
</SmtpProxyAddresses>

To retrieve a specific SMTP Proxy Address for a user by its object ID:

GET http://<connection-server>/vmrest/user/smtpproxyaddresses/<objectid>

Rating: 0.0/5 (0 votes cast)

Personal tools