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

CheckSmsCost

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/CheckSmsCost
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>
    <CheckSmsCost xmlns="http://pmmsoapmessenger.com/">
      <user>
        <CustomerID>int</CustomerID>
        <Name>string</Name>
        <Language>string</Language>
        <Password>string</Password>
      </user>
      <smsDetails>
        <SmsText>string</SmsText>
        <Recipiens>string</Recipiens>
        <MsgType>string</MsgType>
      </smsDetails>
    </CheckSmsCost>
  </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>
    <CheckSmsCostResponse xmlns="http://pmmsoapmessenger.com/">
      <CheckSmsCostResult>
        <Cost>decimal</Cost>
        <RejectedNumbers>
          <string>string</string>
          <string>string</string>
        </RejectedNumbers>
        <Result>string</Result>
      </CheckSmsCostResult>
    </CheckSmsCostResponse>
  </soap:Body>
</soap:Envelope>