McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 16

↗ View in doc context
page
16
source
unity-connection/rest-api/cumi/cumi.md
chunk_id
unity-connection::rest-api::cumi::cumi::9

Deleted Items Folder Operations All folder operations can be executed by a user when connecting with his/her credentials. When using the administrative credentials, using the userobjectid parameter will allow administrators to do the same operations on the users mailbox. A GET operation on the folder returns a message list: GET /vmrest/mailbox/folders/deleted/messages A user with administrative privileges can list the messages of another users folder by passing the userobjectid of the other user: GET /vmrest/mailbox/folders/deleted/messages?userobjectid=<userobjectid> A user with administrative privileges can list the messages of another users folder having USN value greater than specified and by passing the userobjectid of the other user: GET /vmrest/mailbox/folders/deleted/messages?userobjectid=<userobjectid>&usngreaterthan=<value> A PUT operation on messages in the Deleted Items folder to update the Subject on the messages. No other parameter on a message can be changed: PUT /vmrest/messages/<messageid> <Message> <Subject>New subject</Subject> </Message> A DELETE operation on messages in the Deleted Items folder will delete the message from the folder. This is a hard (permanent) delete. DELETE /vmrest/messages/<message-id> A POST operation on the Deleted Items folder can be used to empty the whole folder. The messages are hard deleted. POST /vmrest/mailbox/folders/deleted/messages?method=empty Offset and Limit Each of the folders will accept the parameters "pagenumber" and "rowsperpage" to specify which messages to retrieve: /vmrest/mailbox/folders/inbox/messages?pagenumber=1&rowsperpage=10 Sorting Initially, server-side sorting will be limited to what can be done efficiently by the database, and will default to placing new messages first, followed by read messages, and sorted within each by ArrivalTime. As recommended in the VTG REST guidelines, sorting will be controlled via "sortkey" and "sortorder" parameters, although initially only the following sort orders will be supported by the server: Sort Parameters Sort Description Cisco Unity Connection Messaging Interface (CUMI) API 10 Cisco Unity Connection Messaging Interface (CUMI) API -- Using the CUMI API Deleted Items Folder Operations