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

    Auto submit Policy Management REST API Overview

    An auto submit policy is a policy that you create to enable Service Now to submit incidents to Juniper Support Services (JSS) automatically. While using Service Now in End Customer mode, auto submit policies allow Service Now to submit incidents automatically to the Service Now partner. When incidents are submitted to JSS or the Service Now partner, they are filtered based on the JMB Filter Level setting of the Service Now organization to which the device belongs.

    The autosubmit-policy-management resources are available under https://[host]/api/juniper/servicenow.

    URI

    https://[host]/api/juniper/servicenow/autosubmit-policy-management/autosubmitpolicies (HTTP method = GET)

    Produces

    • application/vnd.juniper.servicenow.autosubmit-policy-management.autosubmitpolicies+xml;version=3;
    • application/vnd.juniper.servicenow.autosubmit-policy-management.autosubmitpolicies+xml;version=3;

    Sample Output

    Sample XML Output

    <autosubmitpolicies uri="/api/juniper/servicenow/autosubmit-policy-management/ autosubmitpolicies " size="2">
           <autosubmitpolicy href="/api/juniper/servicenow/autosubmit-policy-management/ autosubmitpolicies /720896" uri="/api/juniper/servicenow/autosubmit-policy-management/ autosubmitpolicies /720896" key="720896">
                  <incidentsSubmitted>0</incidentsSubmitted>
                  <devices>3</devices>
                  <events>5</events>
                  <name>test1</name>
                  <createdBy>super</createdBy>
                  <enabled>true</enabled>
                  <dampening>Enabled</ dampening>
           </autosubmitpolicy>
           <autosubmitpolicy href="/api/juniper/servicenow/autosubmit-policy-management/autosubmitcases/1081344" uri="/api/juniper/servicenow/autosubmit-policy-management/ autosubmitpolicies/1081344" key="1081344">
                  <incidentsSubmitted>0</incidentsSubmitted>
                  <devices>2</devices>
                  <events>7</events>
                  <name>test</name>
                  <createdBy>super</createdBy>
                  <enabled>false</enabled>
                  <dampening>Disabled</dampening>
           </autosubmitpolicy >
    </autosubmitpolicies>
    

    Sample JSON Output

    {
        "autosubmitpolicies":{
            "@uri":"/api/juniper/servicenow/autosubmit-policy-management/autosubmitpolicies,
            "@size":"2",
            "autosubmitpolicy":[
                {
                    "@href":"/api/juniper/servicenow/autosubmit-policy-management/autosubmitpolicies/720896",
                    "@uri":"/api/juniper/servicenow/autosubmit-policy-management/autosubmitpolicies/720896",
                    "@key":"720896",
                    "incidentssubmitted":"0",
                    "devices":"3",
                    "events":"5",
                    "name":"test1",
                    "createdby":"super",
           "enabled":"true",
    “dampening”:”Enabled”
                },
                {
                    "@href":"/api/juniper/servicenow/autosubmit-policy-management/autosubmitcases/1081344",
                    "@uri":"/api/juniper/servicenow/autosubmit-policy-management/autosubmitpolicies/1081344",
                    "@key":"1081344",
                    "incidentssubmitted":"0",
                    "devices":"2",
                    "events":"7",
                    "name":"test",
                    "createdby":"super",
           "enabled":"false"
    “dampening”:”Disabled”
                }
            ]
        }
    

    The auto submit policy management provides the following APIs:

    Modified: 2016-08-11