McDewey

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

Page 635

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

<MessageAgingRule> <URI>/vmrest/messageagingpolicies/0f02be4e-5d70-4a1d-b182- ce14ede90ac0/messageagingrules/c160becb-0042-441e-a021-4bb4aeb05da4</URI> <MessageAgingPolicyObjectId>0f02be4e-5d70-4a1d-b182- ce14ede90ac0</MessageAgingPolicyObjectId> <MessageAgingPolicyURI>/vmrest/messageagingpolicies/0f02be4e-5d70-4a1d-b182- ce14ede90ac0</MessageAgingPolicyURI> <ObjectId>c160becb-0042-441e-a021-4bb4aeb05da4</ObjectId> <Days>30</Days> <Enabled>false</Enabled> <Secure>true</Secure> <SendNotification>false</SendNotification> <NotificationDays>3</NotificationDays> <RuleDescription>Permanently Delete Secure Touched Messages </RuleDescription> </MessageAgingRule> Response Code: 200 JSON Example To list details of an individual message aging rule, do the following: Request URI: GET https://<connection-server>/vmrest/messageagingpolicies/<messageagingpolicyobject- Id>/messageagingrules/<messageagingruleobject-Id> 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: { "URI":"/vmrest/messageagingpolicies/0f02be4e-5d70-4a1d-b182- ce14ede90ac0/messageagingrules/c160becb-0042-441e-a021-4bb4aeb05da4" "MessageAgingPolicyObjectId":"0f02be4e-5d70-4a1d-b182-ce14ede90ac0" "MessageAgingPolicyURI":"/vmrest/messageagingpolicies/0f02be4e-5d70-4a1d-b182- ce14ede90ac0" "ObjectId":"c160becb-0042-441e-a021-4bb4aeb05da4" "Days":"60" "Enabled":"false" "Secure":"true" "SendNotification":"false" "NotificationDays":"3" "RuleDescription":"Permanently Delete Secure Touched Messages" } Response Code: 200 Updating a Message Aging Rule The following is an example of the PUT request that allows you to update the days parameter of enabled message aging rule: PUT https://<connection-server>/vmrest/messageagingpolicies/<messageagingpolicyobject-Id>/messageagingrules/<messageagingruleobject-Id> Request Body: <MessageAgingRule> <Days>25</Days> </MessageAgingRule> Cisco Unity Connection Provisioning Interface (CUPI) API 603 Cisco Unity Connection Provisioning Interface (CUPI) API--Message Aging Policy APIs Updating a Message Aging Rule