XML examples for sending a SMS MT through the Higate HTTP API:


SendSMS (Sending a SMS)


<Message>

  <Version Version="1.0"/>

     <Request Type="SendSMS" RefNo="1">

              <UserID>ClientName</UserID>

              <Password>ClientPassword</Password>

              <SendSMS ToAddr="27613177895"

                                   Validity="00020000"

                                   Service="SERVICE1"

                                   Flags="0"

                                   DataCoding="0">

              <Reply Tag="449"/>

              <AdultRating>0</AdultRating>

              <Content Type="TEXT">Test message from Higate HTTP client</Content>

        </SendSMS>

 </Request>

</Message>




OnResult (Status Response for SendSMS)


<?xml version="1.0" ?>

<Message>

<Version Version="1.0"/>

<Response Type="OnResult" TOC="SMS" RefNo="4" SeqNo="2289859312">

<SystemID>Higate</SystemID>

<UserID>ClientName</UserID>

<Service>SERVICECODE</Service>

<NetworkID>2</NetworkID>

<Network ID="2" MCC="655" MNC="010"/>

<ErrCode>0</ErrCode>

<ErrText>SMPP Submit Error</ErrText>

<OnResult

  Flags="0"

  Code="6"

  SubCode="0"

  Text="SMPP Submit Error"/>

</Response>

</Message>