get_feature_filterlist


A get_feature_filterlist request will return the complete list of filters enabled for the current account. The information returned using a get_feature_filterlist request can be used for set_feature_filter and delete_feature_filter methods.


Parameter
Purpose
username The user's login name
password The user's login password
snumber caller number (source number) to be filtered
dnumber comment associated with this filter (optional)
description forward number (destination number) (optional)




Sample Request
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:TelebroadWebServices">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:get_feature_filterlistRequest soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <username xsi:type="xsd:string">xxxxxxxxxx</username>
         <password xsi:type="xsd:string">xxxxxxxxxxx</password>
 </urn:get_feature_filterlistRequest>
   </soapenv:Body>
</soapenv:Envelope>




Sample Response
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:TelebroadWebServices">
   <SOAP-ENV:Body>
      <ns1:get_feature_filterlistResponse xmlns:ns1="urn:TelebroadWebServices">
         <return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:sms_item[4]">
            <item xsi:type="tns:filter_item">
               <id xsi:type="xsd:int">3975</id>
               <snumber xsi:type="xsd:string">12124441111</snumber>
               <description xsi:type="xsd:string">test two</description>
               <dnumber xsi:type="xsd:string"/>
            </item>
            <item xsi:type="tns:filter_item">
               <id xsi:type="xsd:int">3974</id>
               <snumber xsi:type="xsd:string">13474530363</snumber>
               <description xsi:type="xsd:string">test one sec</description>
               <dnumber xsi:type="xsd:string"/>
            </item>
         </return>
      </ns1:get_feature_filterlistResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.