Home

Search the wiki

»

API Documentation


Mobile Payment


Other






Send message request XML

RSS
The XML document consists of two major parts: logon-information and the message-list.

The DTD for a send SMS request is as follows:

<!-- PSWinCom DTD SMS Submit-->
<!ELEMENT ID (#PCDATA)>
<!ELEMENT NET (#PCDATA)>
<!ELEMENT AP (#PCDATA)>
<!ELEMENT SD (#PCDATA)>
<!ELEMENT TEXT (#PCDATA)>
<!ELEMENT CLASS (#PCDATA)>
<!ELEMENT OP (#PCDATA)>
<!ELEMENT RCPREQ (#PCDATA)>
<!ELEMENT RCPFMT (#PCDATA)>
<!ELEMENT SND (#PCDATA)>
<!ELEMENT RCV (#PCDATA)>
<!ELEMENT CLIENT (#PCDATA)>
<!ELEMENT TARIFF (#PCDATA)>
<!ELEMENT PW (#PCDATA)>
<!ELEMENT NAME (#PCDATA)>
<!ELEMENT TTL (#PCDATA)>
<!ELEMENT CPATAG (#PCDATA)>
<!ELEMENT AGELIMIT (#PCDATA)>
<!ELEMENT SHORTCODE (#PCDATA)>
<!ELEMENT REPLACE (#PCDATA)>
<!ELEMENT DELIVERYTIME (#PCDATA)>
<!ELEMENT SERVICECODE (#PCDATA)>
<!ELEMENT MSG (ID?, NET?, TARIFF?, TEXT, CLASS?, OP?,
RCPREQ?, RCPFRM?, SND?, RCV, TTL?, CPATAG?, AGELIMIT?,
SHORTCODE?, REPLACE?, DELIVERYTIME?, SERVICECODE?)>
<!ELEMENT QRY (NAME)>
<!ELEMENT MSGLST (MSG+)>
<!ELEMENT QRYLST (QRY+)>
<!ELEMENT SESSION (CLIENT, PW, AP?, SD?, MSGLST?, QRYLST?)>

A sample of a XML document containing two ordinary text SMS messages:

<?xml version="1.0"?>
<SESSION>
  <CLIENT>demo</CLIENT>
  <PW>password</PW>
  <MSGLST>
    <MSG>
      <TEXT>Test message1</TEXT>
      <RCV>4793000000</RCV>
    </MSG>
    <MSG>
      <TEXT>Test message2</TEXT>
      <RCV>4793000000</RCV>
    </MSG>
  </MSGLST>
</SESSION>

The sample above shows a minimal XML document with only the elements required to send plain text messages. Supported character set on communication channel: ISO 8859-Latin1. Unicode cannot be used, but is supported as SMS encoding.
Gateway interfaces: | XML | HTTP | SMTP | SOAP | SFTP BatchLoader
Intouch interfaces: REST | Syncopy

© Copyright Link Mobility ASA.





GuestLogin