/mcpC H A P T E R 15 Cisco Unity Connection Provisioning Interface (CUPI) API -- User Mailbox API Links to Other API pages: Cisco_Unity_Connection_APIs • Mailbox API, on page 57 • Listing the Mailbox Details of a User, on page 57 • Updating Mailbox Quota, on page 58 • Explanation of Data Fields, on page 59 Mailbox API To get object ID for message aging policy, use URI GET https://<connection server>/vmrest/messageagingpolicies GET https://<connection server>/vmrest/users/<userobjectid>/mailboxattributes Listing the Mailbox Details of a User GET https://<connection-server>/vmrest/users/<userobjectid>/mailboxattributes The following is the response from the GET request and the actual response will depend upon the information given by you: <MailboxAttributes> <ByteSize>0</ByteSize> <MessageAgingPolicyObjectId>efb2f81f-32c5-4ed6-ba6b-d85260012d5c</MessageAgingPolicyObjectId> <Mounted>true</Mounted> <NotificationType>0</NotificationType> <SendReadReceipts>false</SendReadReceipts> <NumMessages>0</NumMessages> <Send>1024</Send> <Receive>1024</Receive> <Warn>1024</Warn> </MailboxAttributes> Cisco Unity Connection Provisioning Interface (CUPI) API 57
