updateSearchFilter Operation
With updateSearchFilter operation you can update an existing search filter.
Request Parameters
authToken, searchFilterName, searchFilterType, description, sharedWithOtherUsers, expression1, expression2, expressionOperator, changeNameTo
Example
SOAP request for updateSearchFilter Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sear="SearchFilterService">
<soapenv:Header/>
<soapenv:Body>
<sear:updateSearchFilter>
<!--Optional:-->
<sear:authToken>admin/admin123</sear:authToken>
<!--Optional:-->
<sear:searchFilterName>test123</sear:searchFilterName>
<!--Optional:-->
<sear:searchFilterType>Regular Expression</sear:searchFilterType>
<!--Optional:-->
<sear:description>Dec updated</sear:description>
<!--Optional:-->
<sear:sharedWithOtherUsers>yes</sear:sharedWithOtherUsers>
<!--Optional:-->
<sear:expression1>Hello-update</sear:expression1>
<!--Optional:-->
<sear:expression2></sear:expression2>
<!--Optional:-->
<sear:expressionOperator></sear:expressionOperator>
<!--Optional:-->
<sear:changeNameTo>test123-update</sear:changeNameTo>
</sear:updateSearchFilter>
</soapenv:Body>
</soapenv:Envelope>
SOAP response for updateSearchFilter Opeartion:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<ns:updateSearchFilterResponse xmlns:ns="SearchFilterService">
<ns:return xsi:type="ax227:SearchFilterResponse" xmlns:ax227="http://searchfilter.services.logapp.loglogic.com/xsd" xmlns:ax228="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax228:authToken xsi:nil="true"/>
<ax228:resultCount>1</ax228:resultCount>
<ax228:statusCode>2000</ax228:statusCode>
<ax228:statusMessage>Successful</ax228:statusMessage>
<ax228:summaryOnly>false</ax228:summaryOnly>
<ax227:resultSet xsi:type="ax227:SearchFilterDetail">
<ax227:expression1>Hello-update</ax227:expression1>
<ax227:expression2 xsi:nil="true"/>
<ax227:expressionOperator xsi:nil="true"/>
<ax227:expressionType>Regular Expression</ax227:expressionType>
<ax227:filterDescription>Dec updated</ax227:filterDescription>
<ax227:filterName>test123-update</ax227:filterName>
<ax227:sharedWithOthers>yes</ax227:sharedWithOthers>
</ax227:resultSet>
</ns:return>
</ns:updateSearchFilterResponse>
</soapenv:Body>
</soapenv:Envelope>
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.
