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

    Export Incident Report of Auto Submit Policies

    Use this API to export incident reports of auto submit policies. The incident report contains the auto submit policies used for submitting incidents to Juniper Support System (JSS).

    URI

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

    Consumes

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

    Request Elements

    Element

    Type

    Description

    autoSubmitPolicies

    autoSubmitPolicy

    Collection of auto submit policies for which incident report is to be exported

    autoSubmitPolicy

    autoSubmitPolicy

    An auto submit policy

    uri

    String

    URI of the auto submit policy

    href

    String

    Link to the auto submit policy

    Produces

    Multipart/form-data

    Sample Input

    Sample XML Input

     <exportAutoSubmitPolicy>
    	<autoSubmitPolicies>
    		<autoSubmitPolicy uri=" /api/juniper/servicenow/autosubmit-policy-management/autosubmitpolicies/76241" />
    	</autoSubmitPolicies>
    </exportAutoSubmitPolicy>
    

    Sample JSON Input

    {
      "exportAutoSubmitPolicy": {
        "autoSubmitPolicies": {
          "autoSubmitPolicy": {
            "@uri": "/api/juniper/servicenow/autosubmit-policy-management/autosubmitpolicies/76241"
          }
        }
      }
    }
    
     

    Sample Output

    A file with the extension *.xls is returned in response to the request. The file contains the incidents submitted using the requested auto submit policies.

    Modified: 2017-07-18