sendMessage
POST
http://isms.center/soap/serverЗапрос для отпарвки одиночного смс сообщения. Один запрос - Один номер телефона
:::info
HTTP
| WSDL | http://isms.center/soap |
| Сервер | http://isms.center/soap/server |
HTTPS
| WSDL | https://isms.center/soap |
| Сервер | https://isms.center/soap/server |
:::
:::highlight gray 📌
Тех. поддержка: support@kazinfoteh.kz
:::
Request
Header Params
Content-Type
string
required
Example:
text/xml
SOAPAction
string
required
Example:
urn:SendSMSLib-SendSMSService#SendMessage
Body Params application/xml
soapenv:Header
string
required
soapenv:Body
object
required
tem:SendSMSService___SendMessage
object
SendMessage
Название Метода
Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:SendSMSService___SendMessage>
<tem:login>mycompany</tem:login>
<tem:password>1234567</tem:password>
<tem:sms>
<tem:recepient>77011234567</tem:recepient>
<tem:senderid>KiT_Notify</tem:senderid>
<tem:msg>Test</tem:msg>
<tem:msgtype>0</tem:msgtype>
<tem:scheduled>2022-05-16 11:00:00</tem:scheduled>
<tem:UserMsgID>1</tem:UserMsgID>
<tem:prioritet>0</tem:prioritet>
</tem:sms>
</tem:SendSMSService___SendMessage>
</soapenv:Body>
</soapenv:Envelope>
Request samples
Responses
OK(200)
Record Not Found(404)
HTTP Code: 200
Content Type : XMLapplication/xml
Data Schema
SOAP-ENV:Body
object
required
ns1:SendSMSService___SendMessageResponse
object
required
Название Метода
Example
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://tempuri.org/">
<SOAP-ENV:Body>
<ns1:SendSMSService___SendMessageResponse>
<ns1:Result>
<ns1:StatusCode>0</ns1:StatusCode>
<ns1:Status>Ok</ns1:Status>
<ns1:Segments>1</ns1:Segments>
<ns1:MsgID>985</ns1:MsgID>
<ns1:ResepDateTime>2022-09-22 09:44:33</ns1:ResepDateTime>
<ns1:Recepient>77011234567</ns1:Recepient>
<ns1:Lang>0</ns1:Lang>
<ns1:UserMsgID>2YT</ns1:UserMsgID>
</ns1:Result>
</ns1:SendSMSService___SendMessageResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Last modified: 6 months ago