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

    Get Information About a Technical Support Case

    Use this API to retrieve information about a specific technical support case from Junos Space Service Now.

    URI

    https://[host]/api/juniper/servicenow/case-management/cases/{id} (HTTP method = GET)

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the case for which information is to be retrieved

    Consumes

    None

    Produces

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

    Response Elements

    Element

    Description

    uri

    String

    Link to the collection of technical support cases

    id

    Integer

    uID of the technical support case

    caseId

    String

    ID assigned to the case by Juniper Support System (JSS)

    synopsis

    String

    Brief description of the event for which the case was created

    priority

    String

    Priority of the case

    Possible values:

    • 1 - Critical
    • 2 - High
    • 3 - Medium
    • 4 - Low

    status

    String

    Status of the case

    createTime

    String

    Date and time the case was created

    caseLink

    String

    Link to the case

    notes

    String

    Notes about the case

    organization

    organization

    Organization associated with the case.

    href

    String

    Link to the organization

    ID

    Integer

    ID of the organization

    name

    String

    Organization name

    device

    device

    Device for which the case was created

    href

    String

    Link to the device

    id

    Integer

    ID of the device

    serialName

    String

    Serial number of the device

    hostName

    String

    Hostname of the device

    method

    String

    Method applicable to the case

    Sample Output

    Example XML Output

    <case uri="/api/juniper/servicenow/case-management/cases/2949120">
      <id>2949120</id>
      <caseId>2012-0328-0560</caseId>
      <synopsis>
        [AIS] Service Now on-demand case
        Customer Comments: These are my synopsis comments here
      </synopsis>
      <priority>3 - Medium</priority>
      <status>Open-Customer Action Required</status>
      <createTime>2012-03-28 19:31:16 IST</createTime>
      <caseLink>
        https://www.juniper.net/cm/case_email_link.jsp?case_number=2012-0328-0560
      </caseLink>
      <notes>my notes</notes>
      <organization href="/api/juniper/servicenow/organization-management/organization/262149">
        <id>262149</id>
        <name>TestOrg</name>
      </organization>
      <device href="/api/juniper/servicenow/device-management/devices/393216">
        <id>393216</id>
        <serialNumber>BH4710AA0012</serialNumber>
        <hostName>SRX1400-b</hostName>
      </device>
     <method href= "/api/juniper/servicenow/case-management/cases/720953/updateCase" rel="Update Case"/>
    </case>
    

    Example JSON Output

    {
       "case":{
          "@uri":"/api/juniper/servicenow/case-management/cases/2949120",
          "id":2949120,
          "caseId":"2012-0328-0560",
          "synopsis":"[AIS] Service Now on-demand casenCustomer Comments: These are my synopsis comments here",
          "priority":"3 - Medium",
          "status":"Open-Customer Action Required",
          "createTime":"2012-03-28 19:31:16 IST",
          "caseLink":"https://www.juniper.net/cm/case_email_link.jsp?case_number=2012-0328-0560",
          "notes":"my notes",
          "organization":{
             "@href":"/api/juniper/servicenow/organization-management/organization/262149",
             "id":262149,
             "name":"TestOrg"
          },
          "device":{
             "@href":"/api/juniper/servicenow/device-management/devices/393216",
             "id":393216,
             "serialNumber":"BH4710AA0012",
             "hostName":"SRX1400-b"
          }
         "method": {
                "@href": "/api/juniper/servicenow/case-management/cases/2949120/updateCase",
                "@rel": "Update Case"
                         }
       }
    }

    Error Codes

    Message

    Description

    404 Not Found

    • Invalid case ID specified
    • No case found

    Modified: 2016-08-10