McDewey

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

Page 630

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

{ "URI":"/vmrest/messageagingpolicies/3f3f9297-e1eb-46a5-bbdf-d86298e2531c" "ObjectId":"3f3f9297-e1eb-46a5-bbdf-d86298e2531c" "Enabled":"true" "DisplayName":"Default System Policy" "MessageAgingRuleURI":"/vmrest/messageagingpolicies/3f3f9297-e1eb-46a5-bbdf- d86298e2531c/messageagingrules" } Response Code: 200 Creating a Message Aging Policy Example 1: The following is an example of the POST request that creates a message aging policy: *POST https://<connection-server>/vmrest/messageagingpolicies Request Body: <MessageAgingPolicy> <DisplayName>Texoma_Message_Policy</DisplayName> </MessageAgingPolicy> The following is the response from the above POST request and the actual response will depend upon the information given by you: Response Code: 201 /vmrest/messageagingpolicies/3f3f9297-e1eb-46a5-bbdf-d86298e2531c JSON Example To create new message aging policy, do the following: Request URI: POST https://<connection-server>/vmrest/messageagingpolicies Accept: application/json Content-Type: application/json Connection: keep-alive Request Body: { "DisplayName":"Texoma_Message_Policy" } The following is the response from the above POST request and the actual response will depend upon the information given by you: Response Code: 201 /vmrest/messageagingpolicies/3f3f9297-e1eb-46a5-bbdf-d86298e2531c Example 2: The following is the example of the create a new message aging policy with some more parameter *POST https://<connection-server>/vmrest/messageagingpolicies Request Body: <MessageAgingPolicy> <DisplayName>Texoma_New_Message_Policy</DisplayName> <Enabled>false</Enabled> </MessageAgingPolicy> The following is the response from the above POST request and the actual response will depend upon the information given by you: Cisco Unity Connection Provisioning Interface (CUPI) API 598 Cisco Unity Connection Provisioning Interface (CUPI) API--Message Aging Policy APIs Creating a Message Aging Policy