McDewey

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

Page 640

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

GET https://<connection-server>/vmrest/messageagingtexts/<messageagingtextobject-id> The following is the response from the above GET request and the actual response will depend upon the information given by you: <MessageAgingText> <URI>/vmrest/messageagingtexts/0220cac9-6df0-48c2-929f-e38d7ff88e3d</URI> <ObjectId>0220cac9-6df0-48c2-929f-e38d7ff88e3d</ObjectId> <LanguageCode>1034</LanguageCode> <DefaultSubject>Your message from %SENDER% will be moved to the Saved Messages folder in %DAYSUNTIL% day(s).</DefaultSubject> <Subject/> <DefaultBody>Your message from %SENDER%, which was received on %MODIFICATIONTIME%, will be moved to the Saved Messages folder in %DAYSUNTIL% day(s).</DefaultBody> <Body/> <UseDefault>true</UseDefault> <RuleDescription>Text for Move New Messages to the Saved Messages Folder Rule</RuleDescription> </MessageAgingText> Response Code: 200 JSON Example To list details of an individual message aging text, do the following: Request URI: GET https://<connection-server>/vmrest/messageagingtexts/<messageagingtextobject-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/messageagingtexts/0220cac9-6df0-48c2-929f-e38d7ff88e3d", "ObjectId": "0220cac9-6df0-48c2-929f-e38d7ff88e3d", "LanguageCode": "1034", "DefaultSubject": "Your message from %SENDER% will be moved to the Saved Messages folder in %DAYSUNTIL% day(s).", "Subject": [], "DefaultBody": "Your message from %SENDER%, which was received on %MODIFICATIONTIME%, will be moved to the Saved Messages folder in %DAYSUNTIL% day(s).", "Body": [], "UseDefault": "true", "RuleDescription": "Text for Move New Messages to the Saved Messages Folder Rule" } Response Code: 200 Updating a Message Aging Text Example 1: Update UseDefault Parameter The following is an example of the PUT request that allows you to update the parameters of message aging text: Cisco Unity Connection Provisioning Interface (CUPI) API 608 Cisco Unity Connection Provisioning Interface (CUPI) API--Message Aging Policy APIs Updating a Message Aging Text