Get Global Settings Configuration
Use this API to retrieve global settings configuration in Junos Space Service Now.
URI
https://[host]/api/juniper/servicenow/global-setting-management/globalSettings (HTTP method = GET)
Consumes
None
Produces
application/vnd.juniper.servicenow.global-setting-management.globalSettings+ xml;version=2
application/vnd.juniper.servicenow.global-setting-management.globalSettings+ json;version=2
Response Elements
Element | Type | Description |
---|---|---|
outboundEmailAddress | String | E-mail address used for sending e-mails or notifications |
dampeningPeriod | String | Time period for which no incident is created in Service Now when the same event recurs on the device |
deviceSnapshotPurgeTimeInDays | String | Number of days for which device snapshots are stored in the Service Now database before they are deleted |
collectLogFiles | Boolean | Flag to specify if log files should be collected from all devices Possible values:
Note: This setting is overridden by the collect log file setting for individual devices. |
shareProfileInformation | Boolean | Flag to specify if Service Now-related information should be shared with Juniper Support System (JSS) or Service Now partner for tracking purposes Possible values:
Note: This element is not available in Offline mode. |
connectionStatus | String | Status of connection between Service Now and Juniper Support System (JSS) or Service Now partner (in case of End Customer mode) Possible values—Success or the reason for connection failure |
serviceNowMode | String | Operating mode of Service Now Possible values—Demo, Direct, End Customer, Offline, Offline Partner Proxy, and Partner Proxy |
maxDaysForAutoSubmitIncident | Integer | Number of days after which an incident is not submitted to JSS by using autosubmit policies |
notSubmittedIncidentPurgeTime | Integer | Number of days incidents submitted to JSS are stored in the Service Now database before they are deleted |
submittedIncidentPurgeTime | Integer | Number of days incidents that are not submitted to JSS are stored in the Service Now database before they are deleted |
Sample Output
Sample XML Output
<globalSettings> <outboundEmailAddress>servicenow@juniper.net</outboundEmailAddress> <dampeningPeriod>1</dampeningPeriod> <deviceSnapshotPurgeTimeInDays>180</deviceSnapshotPurgeTimeInDays> <collectLogFiles>true</collectLogFiles> <shareProfileInformation>true</shareProfileInformation> <connectionStatus>Connection Successful</connectionStatus> <serviceNowMode>Partner Proxy</serviceNowMode> <maxDaysForAutoSubmitIncident>2</maxDaysForAutoSubmitIncident> <notSubmittedIncidentPurgeTime >30</ notSubmittedIncidentPurgeTime> <submittedIncidentPurgeTime>30</ submittedIncidentPurgeTime> </globalSettings>
Sample JSON Output
{ "globalSettings": { "outboundEmailAddress": "servicenow@juniper.net", "dampeningPeriod": 1, "deviceSnapshotPurgeTimeInDays": 180, "incidentPurgeTimeInDays": 365, "collectLogFiles": true, "shareProfileInformation": true, "connectionStatus": "Connection Successful", "serviceNowMode": "Partner Proxy", ”maxDaysForAutoSubmitIncident”:”2”, ”notSubmittedIncidentPurgeTime”:"30”, ”SubmittedIncidentPurgeTime”:”30” } }