CUC Forums

« Back to CUPI Questions

Programmaticaly access Inbox data

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
Using Curl is it posible to access the inbox data from the unity server
or is there any direct access to the database of the unity server ?
 
Please help me on this ..
 
thanks/chandar

In 8.0 it will be possible to use any HTTP client to access the Connection message interface (CUMI).  Below is a curl example of retrieving all the inbox messages for a user:
 
curl -u operator:ecsbulab -v -X GET -H"Accept: application/json" http://$SERVER/vmrest/mailbox/folders/inbox/messages
 
-Dave
 
 

Hi,
My Cisco Unity version is 7.1.2.20000.
So will it be possible to use CURL in this case ?
 
thanks/Chandar
 
In 8.0 it will be possible to use any HTTP client to access the Connection message interface (CUMI).  Below is a curl example of retrieving all the inbox messages for a user:
 
curl -u operator:ecsbulab -v -X GET -H"Accept: application/json" http://$SERVER/vmrest/mailbox/folders/inbox/messages
 
-Dave
 
 

The CUMI interface is only available in 8.0,
 
-Dave

Hi,
 
So is there any other method for accessing the messages in the older versions < 8.0
 
The CUMI interface is only available in 8.0,
 
-Dave

The only recommended interface for earlier versions is an IMAP interface.  The Connection message store supports IMAP, but that is not part of the REST interfaces, so you'd need to get support outside this forum.
 
-Dave

Hi .
But there are few schema files available for each of the objects that can be retrieved through CUPI.Can i use this for accessing the Maibox of the unity server.Because i can see xml schema provided for mail box also.
 
Please let me know whether i can use this through Soap webservice or any other format for accessing the various data.

There is no way to use the CUPI interface to access messages.  The mailbox resources accessible through CUPi are strictly for managing administrative information related to those resources.

Hi,
       This is basically for managing/administrating the mailbox from a third party application.
 
thanks/Chandar
 
There is no way to use the CUPI interface to access messages.  The mailbox resources accessible through CUPi are strictly for managing administrative information related to those resources.

In that case I we'd better start back at the beginning, can you be more specific about what inbox data you want to manage?  In 7.1.3 the mailbox settings currently exposed in CUPI are read only, and the same will be true in 8.0.  Unfortunately there is no supported external interface to access Connection data in versions earlier than 7.1.3.   The best we can do is enter a feature request if we can get the specifics of what you are trying to do and try to address the requirements in a future version.
 
-Dave

Hi,
 
Actualy in the CUPI Documentation it has been mentioned that we can use the xml schema for each of the objects that can be retrieved through CUPI.

Actually i need to get the messages from the inbox which will be integrated with a third party application along with the user details and other configuration details.

Or is it possible to directly access the database so that i can get the data directly from there ?
 
 

I believe all of these questions have been answered:
 
Hi,
 
Actualy in the CUPI Documentation it has been mentioned that we can use the xml schema for each of the objects that can be retrieved through CUPI.
 
You can access some mailbox settings read only via CUPI in 7.1.3 and later.  No write access is available.


Actually i need to get the messages from the inbox which will be integrated with a third party application along with the user details and other configuration details.
 
The inbox messages in 8.0 are available via CUMI and via IMAP in 8.0 and earlier versions.

Or is it possible to directly access the database so that i can get the data directly from there ?
 
We do not allow direct access to the database.