Reorder Incident Filters
Use this API to reorder incident filters configured in Junos Space Service Now. The order of a filter indicates the order in which a filter is applied to Juniper Message Bundles (JMBs).
![]() | Note: For reordering filters, you must pass the IDs of all the incident filters configured in Service Now. |
URI
https://[host]/api/juniper/servicenow/incident-filter-management /incidentFilters/reorder (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 |
---|---|---|
filters | filter | Collection of filters to be reordered |
ID | Integer | ID of the filter to be reordered |
Produces
- application/vnd.juniper.servicenow.incident-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 reorder operation |
Sample Input
Sample XML Input
<filters> <filter> <id>3080204</id> </filter> <filter> <id>3080209</id> </filter> </filters>
Sample JSON Input
{ "filters": { "filter": [ { "id": "3080204" }, { "id": "3080209" } ] } }
Sample Output
Sample XML Output
<servicenowmsg> <msg>Filters reordered successfully.</msg> </servicenowmsg>
Sample JSON Output
{ "servicenowmsg": { "msg": "Filters reordered successfully." }