Browse Source

Added XML filters

master
Andrey Prokhorov 2 years ago
parent
commit
670e5ba7f6
Signed by: prox GPG Key ID: 8EBBDFE07A8057CA
2 changed files with 24 additions and 0 deletions
  1. +12
    -0
      device_filter.xml
  2. +12
    -0
      tpl_location_filter.xml

+ 12
- 0
device_filter.xml View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:query xmlns:ns2="query.rest.mgmt.acs.nm.cisco.com">
<criteria xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:AndFilter">
<simpleFilters>
<propertyName>name</propertyName>
<operation>CONTAINS</operation>
<value>ROUTER123</value>
</simpleFilters>
</criteria>
<numberofItemsInPage>100</numberofItemsInPage>
<startPageNumber>1</startPageNumber>
</ns2:query>

+ 12
- 0
tpl_location_filter.xml View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:query xmlns:ns2="query.rest.mgmt.acs.nm.cisco.com">
<criteria xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:AndFilter">
<simpleFilters>
<propertyName>Location</propertyName>
<operation>EQUALS</operation>
<value>{0}</value>
</simpleFilters>
</criteria>
<numberofItemsInPage>100</numberofItemsInPage>
<startPageNumber>1</startPageNumber>
</ns2:query>

Loading…
Cancel
Save