SMSVersand


Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.

SendSMS

UserBenutzerkennung
PasswordPasswort
JobCaptionBeschreibung des Jobs
MsgNachricht die gesendet werden soll.
Es können zwei variable Felder #FELD1# und #FELD2# verwendet werden.
Der Aufbau beim Recpient ändert sich dann in
Nummer;Feld1Text;Feld2Text;NewLineZeichen
Nummer;Feld1Text;Feld2Text;NewLineZeichen
...
RecipientsEmpfänger der Nachricht, mehrere Empfänger werden durch ein NewLine Zeichen getrennen.
SendDateSendezeit der Nachticht. Soll die Nachricht sofort gesendet werden einfach den 1.1.2000 übergeben.

Ergebnis:
OK JobId oder Error Fehlermeldung

Test

Klicken Sie auf die Schaltfläche 'Aufrufen', um den Vorgang mit dem HTTP POST-Protokoll zu testen.
Parameter Wert
User:
Password:
JobCaption:
Msg:
Recipients:
SendDate:

SOAP 1.1

Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.

POST /sms.asmx HTTP/1.1
Host: info-messenger.de
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://nx9.de/webservices/SendSMS"

<?xml version="1.0" encoding="utf-8"?>
<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>
    <SendSMS xmlns="http://nx9.de/webservices/">
      <User>string</User>
      <Password>string</Password>
      <JobCaption>string</JobCaption>
      <Msg>string</Msg>
      <Recipients>string</Recipients>
      <SendDate>string</SendDate>
    </SendSMS>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<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>
    <SendSMSResponse xmlns="http://nx9.de/webservices/">
      <SendSMSResult>string</SendSMSResult>
    </SendSMSResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.

POST /sms.asmx HTTP/1.1
Host: info-messenger.de
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendSMS xmlns="http://nx9.de/webservices/">
      <User>string</User>
      <Password>string</Password>
      <JobCaption>string</JobCaption>
      <Msg>string</Msg>
      <Recipients>string</Recipients>
      <SendDate>string</SendDate>
    </SendSMS>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendSMSResponse xmlns="http://nx9.de/webservices/">
      <SendSMSResult>string</SendSMSResult>
    </SendSMSResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

Folgendes ist eine Beispielanforderung und -antwort für HTTP GET. Die angezeigten Platzhalter müssen durch richtige Werte ersetzt werden.

GET /sms.asmx/SendSMS?User=string&Password=string&JobCaption=string&Msg=string&Recipients=string&SendDate=string HTTP/1.1
Host: info-messenger.de
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://nx9.de/webservices/">string</string>

HTTP POST

Folgendes ist eine Beispielanforderung und -antwort für HTTP POST. Die angezeigten Platzhalter müssen durch richtige Werte ersetzt werden.

POST /sms.asmx/SendSMS HTTP/1.1
Host: info-messenger.de
Content-Type: application/x-www-form-urlencoded
Content-Length: length

User=string&Password=string&JobCaption=string&Msg=string&Recipients=string&SendDate=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://nx9.de/webservices/">string</string>