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_SendBinarySms

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_SendBinarySms
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_SendBinarySms xmlns="http://pmmsoapmessenger.com/">
      <customerID>int</customerID>
      <userName>string</userName>
      <userPassword>string</userPassword>
      <originator>string</originator>
      <binaryBody>string</binaryBody>
      <recipientPhone>string</recipientPhone>
      <defDate>string</defDate>
      <data_coding>string</data_coding>
      <esm_class>string</esm_class>
      <PID>string</PID>
      <avoidConvertToText>boolean</avoidConvertToText>
    </HTTP_SendBinarySms>
  </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_SendBinarySmsResponse xmlns="http://pmmsoapmessenger.com/">
      <HTTP_SendBinarySmsResult>
        <RejectedNumbers>
          <string>string</string>
          <string>string</string>
        </RejectedNumbers>
        <TransactionID>string</TransactionID>
        <NetPoints>string</NetPoints>
        <Result>string</Result>
      </HTTP_SendBinarySmsResult>
    </HTTP_SendBinarySmsResponse>
  </soap:Body>
</soap:Envelope>

HTTP Get

GET /bms/Soap/Messenger.asmx/HTTP_SendBinarySms?customerID=string&userName=string&userPassword=string&originator=string&binaryBody=string&recipientPhone=string&defDate=string&data_coding=string&esm_class=string&PID=string&avoidConvertToText=string
Host: string

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

<SendResult xmlns="http://pmmsoapmessenger.com/">
  <RejectedNumbers>
    <string>string</string>
    <string>string</string>
  </RejectedNumbers>
  <TransactionID>string</TransactionID>
  <NetPoints>string</NetPoints>
  <Result>string</Result>
</SendResult>

HTTP Post

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

customerID=string&userName=string&userPassword=string&originator=string&binaryBody=string&recipientPhone=string&defDate=string&data_coding=string&esm_class=string&PID=string&avoidConvertToText=string

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

<SendResult xmlns="http://pmmsoapmessenger.com/">
  <RejectedNumbers>
    <string>string</string>
    <string>string</string>
  </RejectedNumbers>
  <TransactionID>string</TransactionID>
  <NetPoints>string</NetPoints>
  <Result>string</Result>
</SendResult>