Related Documentation
Update Advanced Global Settings Configuration
Use this API to update advanced global settings configuration in Junos Space Service Now.
URI
https://[host]/api/juniper/servicenow/global-setting-management /updateAdvancedSettings (HTTP method = PUT)
URI Parameters
None
Consumes
- application/vnd.juniper.servicenow.global-setting-management.advancedSettings +xml;version=1;charset=UTF-8
- application/vnd.juniper.servicenow.global-setting-management.advancedSettings +json;version=1;charset=UTF-8
Request Elements
Element | Type | Description |
---|---|---|
incidentFiltersAction | String | Action to be taken on JMBs when the JMB does not match any term in any of the incident filter configured in Service Now Possible values:
|
autoSubmitFiltersAction | String | Action to be taken on an incident when the incident does not match any term in any of the incident filter configured in Service Now Possible values:
|
suppressedEventsPurgeTime | Integer | Number of days data related to events for which incidents are not created can be stored in the Service Now database. Possible value—1 to 365 days |
suppressedEventsJMBPurgeTime | Integer | Number of days JMBs related to events for which incidents are not created can be stored in the Service Now database. Possible value—1 to 365 days Note: The value of suppressedEventsJMBPurgeTime element should be lesser than the value of the suppressedEventsPurgeTime. |
updateDirectiveFile | Boolean | Indicates if the directive file can be updated automatically whenever a new version or revision of the directive file is available with JSS. Possible values:
|
Produces
- application/vnd.juniper.servicenow.global-setting-management.servicenowmsg +xml;version=1
- application/vnd.juniper.servicenow.global-setting-management.servicenowmsg +json;version=1
Response Elements
Element | Type | Description |
---|---|---|
msg | String | Message indicating the result of modifying advanced global settings |
Sample Input
Sample XML Input
<advancedSettings> <incidentFiltersAction>Do not create Incident</incidentFiltersAction> <autoSubmitFiltersAction>Do not Submit Case</autoSubmitFiltersAction> <suppressedEventsPurgeTime>20</suppressedEventsPurgeTime> <suppressedEventsJMBPurgeTime>19</suppressedEventsJMBPurgeTime> <updateDirectiveFile>true</updateDirectiveFile> </advancedSettings>
Sample JSON Input
{ "advancedSettings": { "incidentFiltersAction": "Do not create Incident", "autoSubmitFiltersAction": "Do not Submit Case", "suppressedEventsPurgeTime": "20", "suppressedEventsJMBPurgeTime": "19", "updateDirectiveFile": "true" } }
Sample Output
Sample XML Output
<servicenowmsg> <msg>Advanced Settings updated successfully</msg> </servicenowmsg>
Sample JSON Output
{ "servicenowmsg": { "msg": "Advanced Settings updated successfully" } }