Web Service
Messenger
Overview
Service Description
Client proxy

Methods SendSmsToDistributionList
SendSmsToSmartList
HTTP_SendSmsToDistributionList
FindDistributionLists
HTTP_FindDistributionLists
GetGreeting
SendSms
SendSms2
SendSmsXml
CheckSmsCost
SendSmsTransaction
HTTP_SendSms
HTTP_SendSmsTransaction
SendMMS
SendBinarySms
HTTP_SendBinarySms
HTTP_GetSmsStatus
GetSmsStatus
HTTP_Authenticate
HTTP_Authenticate2
Authenticate
Authenticate2
SendServiceSms
KeepAlive
HTTP_KeepAlive
HTTP_InboxProcessing
HTTP_Json_InboxProcessing
InboxProcessing
TubeAuthenticateCustomerUser
Diag
GetAdZoneLocations
SendAdZoneSms
SendMultilocationalAdZoneSms
SendMultilocationalDynamicAdZoneSms
StopAdZoneCampaign
GetAdZoneCampaignStatistics

Methods for binding
MessengerSoap12
SendSmsToDistributionList
SendSmsToSmartList
HTTP_SendSmsToDistributionList
FindDistributionLists
HTTP_FindDistributionLists
GetGreeting
SendSms
SendSms2
SendSmsXml
CheckSmsCost
SendSmsTransaction
HTTP_SendSms
HTTP_SendSmsTransaction
SendMMS
SendBinarySms
HTTP_SendBinarySms
HTTP_GetSmsStatus
GetSmsStatus
HTTP_Authenticate
HTTP_Authenticate2
Authenticate
Authenticate2
SendServiceSms
KeepAlive
HTTP_KeepAlive
HTTP_InboxProcessing
HTTP_Json_InboxProcessing
InboxProcessing
TubeAuthenticateCustomerUser
Diag
GetAdZoneLocations
SendAdZoneSms
SendMultilocationalAdZoneSms
SendMultilocationalDynamicAdZoneSms
StopAdZoneCampaign
GetAdZoneCampaignStatistics

HTTP_FindDistributionLists

Overview | Test Form | Message Layout


The following are sample SOAP requests and responses for each protocol supported by this method:

Soap

POST /bms/Soap/Messenger.asmx
SOAPAction: http://pmmsoapmessenger.com/HTTP_FindDistributionLists
Content-Type: text/xml; charset=utf-8
Content-Length: string
Host: string

<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>
  <soap:Body>
    <HTTP_FindDistributionLists xmlns="http://pmmsoapmessenger.com/">
      <customerID>int</customerID>
      <userName>string</userName>
      <userPassword>string</userPassword>
      <listId>string</listId>
      <listName>string</listName>
      <listCategory>string</listCategory>
    </HTTP_FindDistributionLists>
  </soap:Body>
</soap:Envelope>

HTTP/1.0 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: string

<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>
  <soap:Body>
    <HTTP_FindDistributionListsResponse xmlns="http://pmmsoapmessenger.com/">
      <HTTP_FindDistributionListsResult>
        <Lists>
          <DistributionListDescription>
            <ID>string</ID>
            <Name>string</Name>
            <Category>string</Category>
            <RecipientsCount>int</RecipientsCount>
            <Version>int</Version>
            <Private>boolean</Private>
            <Type>string</Type>
          </DistributionListDescription>
          <DistributionListDescription>
            <ID>string</ID>
            <Name>string</Name>
            <Category>string</Category>
            <RecipientsCount>int</RecipientsCount>
            <Version>int</Version>
            <Private>boolean</Private>
            <Type>string</Type>
          </DistributionListDescription>
        </Lists>
        <ErrorCode>int</ErrorCode>
        <Result>string</Result>
      </HTTP_FindDistributionListsResult>
    </HTTP_FindDistributionListsResponse>
  </soap:Body>
</soap:Envelope>

HTTP Get

GET /bms/Soap/Messenger.asmx/HTTP_FindDistributionLists?customerID=string&userName=string&userPassword=string&listId=string&listName=string&listCategory=string
Host: string

HTTP/1.0 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: string

<FindListsResult xmlns="http://pmmsoapmessenger.com/">
  <Lists>
    <DistributionListDescription>
      <ID>string</ID>
      <Name>string</Name>
      <Category>string</Category>
      <RecipientsCount>int</RecipientsCount>
      <Version>int</Version>
      <Private>boolean</Private>
      <Type>string</Type>
    </DistributionListDescription>
    <DistributionListDescription>
      <ID>string</ID>
      <Name>string</Name>
      <Category>string</Category>
      <RecipientsCount>int</RecipientsCount>
      <Version>int</Version>
      <Private>boolean</Private>
      <Type>string</Type>
    </DistributionListDescription>
  </Lists>
  <ErrorCode>int</ErrorCode>
  <Result>string</Result>
</FindListsResult>

HTTP Post

POST /bms/Soap/Messenger.asmx/HTTP_FindDistributionLists
Content-Type: application/x-www-form-urlencoded
Content-Length: string
Host: string

customerID=string&userName=string&userPassword=string&listId=string&listName=string&listCategory=string

HTTP/1.0 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: string

<FindListsResult xmlns="http://pmmsoapmessenger.com/">
  <Lists>
    <DistributionListDescription>
      <ID>string</ID>
      <Name>string</Name>
      <Category>string</Category>
      <RecipientsCount>int</RecipientsCount>
      <Version>int</Version>
      <Private>boolean</Private>
      <Type>string</Type>
    </DistributionListDescription>
    <DistributionListDescription>
      <ID>string</ID>
      <Name>string</Name>
      <Category>string</Category>
      <RecipientsCount>int</RecipientsCount>
      <Version>int</Version>
      <Private>boolean</Private>
      <Type>string</Type>
    </DistributionListDescription>
  </Lists>
  <ErrorCode>int</ErrorCode>
  <Result>string</Result>
</FindListsResult>