McDewey

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

Page 620

↗ View in doc context
page
620
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::584

Response Code: 200 Viewing the Number of Mailboxes in a Mailbox Store The following is an example of the GET request that lists the number of mailboxes in a mailbox store represented by the provided value of mailbox store object ID: GET https://<connection-server>/vmrest/mailboxstores/<mailboxstore-objectid>/mailboxes The following is the response from the above GET request: Response Code: 200 <Mailboxes total="3"/> JSON Example To view the number of mailboxes in a mailbox store, do the following: Request URI GET https://<connection-server>/vmrest/mailboxstores/<mailboxstore-objectid>/mailboxes Accept: application/json Connection: keep-alive The following is the response from the above GET request and the actual response will depend upon the information given by you: { "@total": "3" } Response Code: 200 Creating the Mailbox Store The parameters that can be given as part of the POST Request Body are : DisplayName, MaxSizeMB,Mounted, Undeletable. Even If the other values such as "server" are mentioned as part of the request body , the values will not be used while creation and default values will be used. The following is an example of the POST request that creates a mailbox store: POST https://<connection-server>/vmrest/mailboxstores Request Body: <MailboxStore> <DisplayName>Unity Messaging Database</DisplayName> <MaxSizeMB>15000</MaxSizeMB> </MailboxStore> The following is the example of the response from the above POST request: Response Code: 201 /vmrest/voicemailboxstores /2668cf73-c234-4fb4-82e1-8b7299485b3ce JSON Example To create a new mailbox store, do the following: Cisco Unity Connection Provisioning Interface (CUPI) API 588 Cisco Unity Connection Provisioning Interface (CUPI) API--Message Aging Policy APIs Viewing the Number of Mailboxes in a Mailbox Store