Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Modify Configuration for Collecting Additional Information for an Incident

    Use this API to modify the commands configured for collecting additional information for an incident in Junos Space Service Now.

    URI

    https://[host]/api/juniper/servicenow/incident-management/incidents/{incidentId}/ modifyAdditionalInformation?queue=https://[host]/api/hornet-q/queues /jms.queue.testq&schedule=(at(<date and time>)) (HTTP method = POST)

    URI Parameters

    Element

    Type

    Required

    Description

    incidentid

    Integer

    Yes

    ID of the incident for which configuration for collecting additional information is to be modified

    date and time

    String

    No

    Date and time (in the ss mm hh dd mm ? yy format) additional information is to be collected

    Consumes

    • application/vnd.juniper.servicenow.incident-management.incident. modifyAdditionalInformation+xml;version=1;charset=UTF-8
    • application/vnd.juniper.servicenow.incident-management.incident. modifyAdditionalInformation+json;version=1;charset=UTF-8

    Request Elements

    Element

    Type

    Description

    cliCommand

    String

    Junos OS commands to be modified for collecting additional information for an incident

    Produces

    • application/vnd.juniper.servicenow.incident-management.incident+xml;version=1
    • application/vnd.juniper.servicenow.incident-management.incident+json;version=1

    Response Elements

    Element

    Type

    Description

    href

    String

    Link to the job for modifying collect additional information configuration

    id

    Integer

    ID of the modify collect additional information job

    Sample Input

    Sample XML Input

    <modifyAdditionalCommand>
    <cliCommand>show chassis summary</cliCommand>
    </modifyAdditionalCommand>

    Sample JSON Input

    {
       "modifyAdditionalCommand": {
          "cliCommand": "show chassis summary"
       }
    }

    Sample Output

    Sample XML Output

    <task href= "/api/space/job-management/jobs/4653072" >
    <id>4653072</id>
    </task>

    Sample JSON Output

    {
      "task": {
        "@href": "/api/space/job-management/jobs/1343525",
        "id": 1343525
      }
    }	

    Modified: 2017-07-18