/mcpThe following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 JSON Example To update the days parameter of enabled message aging rule, do the following: PUT https://<connection-server>/vmrest/messageagingpolicies/<messageagingpolicyobject-Id>/messageagingrules/<messageagingruleobject-Id> Accept : application/json Content-Type: application/json Connection: keep-alive Request Body: { "Days":"25" } The following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 You can't update the days as well as the NotificationDays parameter if message aging rule is disabled. Note Explanation of Data Fields The following chart lists all of the data fields: Comments Data Type Operation Parameter Age message older than this number of days. Range: 1 to 365. Integer Read/Write Days Describes the action to take when the rule is applied. Default Value: 0 Values: • 0: Soft Delete • 1: Hard Delete • 2: ToSaved Integer Read/Write Action It specifies whether the particular rule is enabled or not. Values : true or false Default Value: true. Boolean Read/Write Enabled It specifies the object id of respective Message Aging Policy String (36) Read Only MessageAgingPolicyObjectId URI of Message Aging Policy. String Read/Write MessageAgingPolicyURI Cisco Unity Connection Provisioning Interface (CUPI) API 604 Cisco Unity Connection Provisioning Interface (CUPI) API--Message Aging Policy APIs Explanation of Data Fields
