Cisco Unity Connection Provisioning Interface (CUPI) API -- For End Users -- SMTP Proxy Addresses
From DocWiki
(Difference between revisions)
m (1 revision) |
|||
| Line 1: | Line 1: | ||
| - | + | {| border="1" class="wikitable" | |
| - | {| | + | |
| - | + | ||
|- | |- | ||
| - | + | ! style="background-color: rgb(255, 215, 0);" | '''Back to:''' [[Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_For_End_Users|CUPI for End Users Overview ]] | |
|} | |} | ||
Latest revision as of 18:02, 15 April 2012
| Back to: CUPI for End Users Overview |
|---|
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>