View Commands Used for Collecting Additional Information for a Technical Support Case
Use this API to view the commands executed for collecting additional information for a technical support case in Junos Space Service Now.
URI
https://[host]/api/juniper/servicenow/case-management/cases/{Id} /viewAdditionalInformation (HTTP method = GET)
URI Parameters
Element | Type | Required | Description |
---|---|---|---|
Id | Integer | Yes | ID of the case in Service Now for which you want to view the commands used for collecting additional information |
Consumes
None
Produces
application/vnd.juniper.servicenow.case-management.case.viewAdditionalInformation +xml;version=1
application/vnd.juniper.servicenow.case-management.case.viewAdditionalInformation +json;version=1
Response Elements
Element | Type | Description |
---|---|---|
cliCommand | String | CLI commands executed to collect additional information |
jobInstanceId | Integer | ID of the collect additional information job |
jobStatus | Boolean | Status of the collect additional information job Possible values
|
owner | String | User who initiated or configured the collect additional information job |
fileName | String | Name of the file in which additional information was collected |
scheduledTime | Date and Time (in the yyyy-mm-dd hh:mm:ss format) additional information was collected for a technical support case |
Sample JSON Input
Sample Output
Sample XML Output
<viewAdditionalCommands> <viewAdditionalCommand> <cliCommand> show system processes extensive no-forwarding show pfe statistics error show system virtual-memory no-forwarding show system queues no-forwarding show system statistics no-forwarding </cliCommand> <jobInstanceId>1343518</jobInstanceId> <jobStatus>Success</jobStatus> <owner>super</owner> <fileName> additional_cli_information_sn-space-mx240-sys_20170613-063247278.txt </fileName> <scheduledTime>2017-06-13 06:32:46.546</scheduledTime> </viewAdditionalCommand> </viewAdditionalCommands>
Sample JSON Output
{ "viewAdditionalCommands": { "viewAdditionalCommand": { "cliCommand": "show system processes extensive no-forwarding show system statistics no-forwarding", "jobInstanceId": 1343518, "jobStatus": "Success", "owner": "super", "fileName": "additional_cli_information_sn-space-mx240-sys_20170613-063247278.txt", "scheduledTime": "2017-06-13 06:32:46.546" } } }