Change the Dampening Status of an Auto Submit Policy
Use this API to change the dampening status of an auto submit policy. Changing the dampening status involves allowing dampening, disabling dampening, or modifying the dampening duration.
URI
https://[host]/api/juniper/servicenow/autosubmit-policy-management/ autosubmitpolicies/{id}/changeDampeningStatus (HTTP method = POST)
URI Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | ID of the auto submit policy for which dampening status is to be changed |
Consumes
None
Produces
- application/vnd.juniper.servicenow.task-management.task +xml;version=1
- application/vnd.juniper.servicenow.task-management.task +json;version=1
Response Elements
Element | Type | Description |
---|---|---|
msg | String | Status message of change dampening status job |
Sample Output
Sample XML Output
<servicenowmsg> <msg> Policy Dampening Status changed successfully</msg> </servicenowmsg>
Sample JSON Output
{ "servicenowmsg": { "msg": " Policy Dampening Status changed successfully" } }