createSearchFilter Operation
With createSearchFilter operation you can create search filters with associated search terms.
Request Parameters
authToken, searchFilterName, searchFilterType, description, sharedWithOtherUsers, expression1, expression2, expressionOperator
For more information about each common request parameter, see Common Request Parameters.
Example
SOAP request for createSearchFilter Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sear="SearchFilterService"> <soapenv:Header/> <soapenv:Body> <sear:createSearchFilter> <!--Optional:--> <sear:authToken>admin/admin123</sear:authToken> <!--Optional:--> <sear:searchFilterName>test123</sear:searchFilterName> <!--Optional:--> <sear:searchFilterType>Use Words</sear:searchFilterType> <!--Optional:--> <sear:description>test</sear:description> <!--Optional:--> <sear:sharedWithOtherUsers>yes</sear:sharedWithOtherUsers> <!--Optional:--> <sear:expression1>expre1</sear:expression1> <!--Optional:--> <sear:expression2>expre2</sear:expression2> <!--Optional:--> <sear:expressionOperator>OR</sear:expressionOperator> </sear:createSearchFilter> </soapenv:Body> </soapenv:Envelope>
SOAP response for createSearchFilter Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <ns:createSearchFilterResponse 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>expre1</ax227:expression1> <ax227:expression2>expre2</ax227:expression2> <ax227:expressionOperator>OR</ax227:expressionOperator> <ax227:expressionType>Use Words</ax227:expressionType> <ax227:filterDescription>test</ax227:filterDescription> <ax227:filterName>test123</ax227:filterName> <ax227:sharedWithOthers>yes</ax227:sharedWithOthers> </ax227:resultSet> </ns:return> </ns:createSearchFilterResponse> </soapenv:Body> </soapenv:Envelope>
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.