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

    Collect Additional Information for a Technical Support Case

    Use this API to collect additional information for a technical support case in Junos Space Service Now.

    URI

    https://[host] /api/juniper/servicenow/case-management/cases/{Id}/collectAdditionalInformation ?queue=https://[host]/api/hornet-q/queues/jms.queue.testq&schedule=(at(date and time)) (HTTP method = POST)

    Sample URI for collect additional information job without schedule or repetition

    https://10.219.51.6/api/juniper/servicenow/case-management/cases/689710 /collectAdditionalInformation?queue=https://10.219.51.6/api/hornet-q/queues /jms.queue.testq

    Sample URI for a collect additional information job scheduled for execution at 10:55 PM on July 4, 2017

    https://10.219.51.6/api/juniper/servicenow/case-management/cases/760715 /collectAdditionalInformation?queue=https://10.219.51.6/api/hornet-q /queues/jms.queue.testq=(at(00 55 22 04 07 ? 2017))

    Sample URI for a collect additional information job scheduled for execution every three minutes the whole day on July 4, 2017.

    https://10.219.51.6/api/juniper/servicenow/case-management/cases/623354 /collectAdditionalInformation?queue=https://10.219.51.6/api/hornet-q /queues/jms.queue.testq=(at(00 */3 * 04 07 ? 2017)

    URI Parameters

    Element

    Type

    Required

    Description

    Id

    Integer

    Yes

    ID of the case in Service Now for which additional information is to be collected

    date and time

    String

    No

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

    Consumes

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

    Request Elements

    Element

    Type

    Description

    cliCommand

    String

    One or more Junos OS commands to be executed for collecting additional information for a technical support case

    Produces

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

    Response Elements

    Element

    Type

    Description

    href

    String

    Link to the job for collecting additional information

    id

    Integer

    ID of the collect additional information job

    Sample Input

    Sample XML Input

    <collectAdditionalCommand>
    <cliCommand>show version, show chassis summary</cliCommand>
    </collectAdditionalCommand>
    

    Sample JSON Input

    {
       "collectAdditionalCommand": {
          "cliCommand": "show version"
       }
    }

    Sample Output

    Sample XML Output

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

    Sample JSON Output

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

    Modified: 2017-07-18