get_feature_blocklist

A get_feature_blocklist request will return the list of all incoming phone numbers currently blocked by the system. The information returned using a get_feature_blocklist request can be used for a subsequent delete_feature_block method request.


Parameter
Purpose
username The user's login name
password The user's login password
snumber caller number (source number) to be filtered
dnumber forward number (destination number) (optional)
description comment associated with this filter (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_blocklistRequest 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_blocklistRequest>
   </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_blocklistResponse 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">4026</id>
               <snumber xsi:type="xsd:string">1718388389957</snumber>
               <description xsi:type="xsd:string"/>
               <dnumber xsi:type="xsd:string"/>
            </item>
            <item xsi:type="tns:filter_item">
               <id xsi:type="xsd:int">3976</id>
               <snumber xsi:type="xsd:string">18452998553</snumber>
               <description xsi:type="xsd:string"/>
               <dnumber xsi:type="xsd:string"/>
            </item>
       </return>
      </ns1:get_feature_blocklistResponse>
   </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.