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 All Tech Support Cases

    Use this API to retrieve all technical support cases from Junos Space Service Now.

    URI

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

    Consumes

    None

    Produces

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

    Response

    Element

    Type

    Description

    uri

    String

    URI of the collection of technical support case

    size

    Integer

    Number of records in the collection

    case

    case

    A technical support case

    href

    String

    Link to the technical support case

    key

    Integer

    ID of the case in Service Now database

    organization

    String

    Organization name under which this case is created

    caseId

    String

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

    deviceSerialNumber

    String

    Serial number of the device for which this case is created

    synopsis

    String

    Synopsis of the event for which the case was created

    priority

    String

    Priority of the case. The possible values are:

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

    status

    String

    Status of the case

    createTime

    Date

    Date and time when the case was created

    caseType

    String

    Type of case created:

    • Event—Case created for events that occurred on devices
    • Event RMA—Case created for Return Materials Authorization (RMA) events that occurred on devices
    • On-demand—Case created for on-demand incidents
    • On-demand RMA—Case created for on-demand RMA incidents
    • BIOS Health Check—Case created for analyzing BIOS running on devices
    • AIS Health Check—Case created for AIS health check events on devices
    • Event (Low End)—Case created for events that occurred on low-end devices such as SRX100 and SRX220
    • Other—Case created for events not reported through Service Now

    Sample Output

    Sample XML Output

    <cases uri="/api/juniper/servicenow/case-management/cases" size="1377">
       <case href="/api/juniper/servicenow/case-management/cases/2129927" uri="/api/juniper/servicenow/case-management/cases/2129927" key="2129927">
          <organization>TestOrg</organization>
          <caseId>2014-1220-0002</caseId>
          <deviceSerialNumber>72518</deviceSerialNumber>
          <synopsis>[Service Now] Weekly BIOS Collection</synopsis>
          <priority>Low</priority>
          <status>Open-Customer Notes Added</status>
          <createTime>2014-12-20 18:02:23 IST</createTime>
          <caseType>Other</caseType>
       </case>
       <case href="/api/juniper/servicenow/case-management/cases/2129926" uri="/api/juniper/servicenow/case-management/cases/2129926" key="2129926">
          <organization>TestOrg</organization>
          <caseId>2014-1220-0001</caseId>
          <deviceSerialNumber>72518</deviceSerialNumber>
          <synopsis>[Service Now] Weekly BIOS Collection</synopsis>
          <priority>Low</priority>
          <status>Open-Customer Notes Added</status>
          <createTime>2014-12-20 18:01:49 IST</createTime>
          <caseType>Other</caseType>
       </case>
    

    Sample JSON Output

    {
      "cases": {
        "@uri": "/api/juniper/servicenow/case-management/cases",
        "@size": "1377",
        "case": [
          {
            "@href": "/api/juniper/servicenow/case-management/cases/2129927",
            "@uri": "/api/juniper/servicenow/case-management/cases/2129927",
            "@key": "2129927",
            "organization": "TestOrg",
            "caseId": "2014-1220-0002",
            "deviceSerialNumber": 72518,
            "synopsis": "[Service Now] Weekly BIOS Collection",
            "priority": "Low",
            "status": "Open-Customer Notes Added",
            "createTime": "2014-12-20 18:02:23 IST",
            "caseType": "Other"
          },
          {
            "@href": "/api/juniper/servicenow/case-management/cases/2129926",
            "@uri": "/api/juniper/servicenow/case-management/cases/2129926",
            "@key": "2129926",
            "organization": "TestOrg",
            "caseId": "2014-1220-0001",
            "deviceSerialNumber": 72518,
            "synopsis": "[Service Now] Weekly BIOS Collection",
            "priority": "Low",
            "status": "Open-Customer Notes Added",
            "createTime": "2014-12-20 18:01:49 IST",
            "caseType": "Other"
             }
          ]
       }
    }

    Error Codes

    Message

    Description

    204 No Content

    No cases found

    Modified: 2016-08-11