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
     
     

    Delete All or Selected Incident Filters

    Use this API to delete all or selected incident filters configured in Junos Space Service Now.

    URI

    https://[host]/api/juniper/servicenow/incident-filter-management/incidentFilters/delete (HTTP method = POST)

    URI Parameters

    None

    Consumes

    • application/vnd.juniper.servicenow.incident-filter-management.filters +xml;version=1;charset=UTF-8
    • application/vnd.juniper.servicenow.incident-filter-management.filters +json;version=1;charset=UTF-8

    Request Elements

    Element

    Type

    Description

    applyAllFilters

    String

    Indicates if all incident filters configured in Service Now should be deleted

    Possible values:

    • true—All incident filters are deleted
    • false—Indicated incident filters are deleted

      When value is set to false for this element, ID of the incident filters that you want to delete should be provided in the request.

    id

    Integer

    ID of the filter to be deleted

    Produces

    • application/vnd.juniper.servicenow.inciden-filter-management.servicenowmsg +xml;version=1
    • application/vnd.juniper.servicenow.incident-filter-management.servicenowmsg +json;version=1

    Response Elements

    Element

    Type

    Description

    msg

    String

    Message indicating the result of the delete operation

    Sample Input

    Sample XML Input

    <filters>
    	<applyAllFilters>false</applyAllFilters>
    	<filter>
    		<id>3080204</id>
    	</filter>
    	<filter>
    		<id>3080209</id>
    	</filter>
    </filters>
    

    Sample JSON Input

    {
       "filters": {
          "applyAllFilters": "false",
          "filter": [
             {
                "id": "3080204"
             },
             {
                "id": "3080209"
             }
          ]
       }
    }
    

    Sample Output

    Sample XML Output

    <servicenowmsg>
    	<msg>Filters deleted successfully.</msg>
    </servicenowmsg>
    

    Sample JSON Output

    {
       "servicenowmsg": {
          "msg": "Filters deleted successfully."
       }
    }
    
     
     

    Modified: 2017-07-18