Table of Contents [Hide/Show]
Gateway connect information Endpoints SSL CertificatesTechnical informationSecurity ConsiderationsSubmitting SMS Request ResponseReceiving delivery report Request Response Correlating messages and delivery reportsReceiving SMS Request ResponseHTTP Parameters Encoding (enc) Client identification (USER and PW) Session Data (SD) Text body/message (TXT) Binary message (HEX) Receiver Number (RCV) Sender Number (SND) Content Type (CT) Message class (CLASS) Reference (REF) State (STATE) DeliveryTime (DELIVERYTIME) Address (ADDRESS) Replace SMS (REPLACE)See also
enc
POST https://simple.pswin.com HTTP/1.1 Content-type: application/x-www-form-urlencoded Host: simple.pswin.com USER=Username&PW=Password&RCV=4799887766&SND=SenderID&TXT=test%e6%f8%e5
https://simple.pswin.com?USER=Username&PW=Password&RCV=4799887766&SND=SenderID&TXT=test%e6%f8%e5
HTTP/1.1 200 OK Server: nginx Date: Tue, 03 May 2016 10:17:20 GMT Content-Type: text/plain; charset=utf-8 Content-Length: 5 Connection: keep-alive 0 OK
POST /receiveDeliveryReport.asp HTTP/1.0 Host: yourserver.com Content-type: application/x-www-form-urlencoded RCV=4712345678&REF=BB35EDF6-3D61-4DE5-9C95-C6E5E35D48EA&STATE=DELIVRD&DELIVERYTIME=2013.03.01+23%3a01%3a00
HTTP/1.1 200 OK Server: Microsoft-IIS/5.1 Content-Type: text/plain
HTTP/1.0 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 08 Oct 2001 09:52:36 GMT Content-Type: text/plain Content-Length: 15 0 OK 4A4B0034DB
POST /ReceiveSMS HTTP/1.1 Content-Type: application/x-www-form-urlencoded User-Agent: PSWinCom-SMSGateway/1.0 Host: your-hostname.com Content-Length: xx Expect: 100-continue Connection: Keep-Alive HTTP/1.1 100 Continue ID=1&SND=4712345678&RCV=26112&TXT=Test message
POST /ReceiveSMS HTTP/1.1 Content-Type: application/xml PSW-Message-type: MO PSW-Message-version: 2 Host: your-hostname.com Content-Length: xx Connection: Keep-Alive <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE MSGLST SYSTEM "pswincom_receive_request.dtd"> <MSGLST> <MSG> <ID>1</ID> <TEXT>Test message</TEXT> <SND>4712345678</SND> <RCV>26112</RCV> <NET /> </MSG> </MSGLST>
enc=ISO-8859-1&TXT=m%e5l%f8yv%e6ring enc=UTF-8&TXT=m%c3%a5l%c3%b8yv%c3%a6ring
SD=My-company-data
TXT=Please+send+me+a+copy+of+the+datamodel.+Rgds,+John
HEX=0000000000000000000000000000000000000000601000080600000 1C0707C003E0E038003E0734E0072CE07C000E031DA005B8C070000207F BA005DFE040001FFC1EA005783FF801F0046BE007D6200F8000070DA005 B0E0000000070F4002F0E000000007078001E0E00000000200000000400 00000000000000000000
CT=1&TXT=m%e5l%f8yv%e6ring CT=9&HEX=f09fa585f09f8f9defb88fe29881696e67
Firstname;middlename;lastname;address; ZipCode;City;RegionNumber;CountyNumber
Kari;;Nordmann;Hjemmeveien 46;5211; BERGEN;12;1201