sendBulkMessage
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 |
:::
:::tip
Для каждого номера телефона (абонента) можно задавать свой персональный текст, заголовок (сендер)
:::
:::highlight gray 📌
Тех. поддержка: support@kazinfoteh.kz
:::
Request
Header Params
Content-Type
string
required
Example:
text/xml
SOAPAction
string
required
Example:
urn:SendSMSLib-SendSMSService#SendBulkMessage
Body Params application/xml
soapenv:Header
string
required
soapenv:Body
object
required
tem:SendSMSService___SendBulkMessage
object
SendBulkMessage
Название метода
Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:SendSMSService___SendBulkMessage>
<tem:login>mycompany</tem:login>
<tem:password>1234567</tem:password>
<tem:smsarray>
<!--Zero or more repetitions:-->
<tem:SMSM>
<tem:recepient>77011234567</tem:recepient>
<tem:senderid>KiT_Notify</tem:senderid>
<tem:msg>Txt1</tem:msg>
<tem:msgtype>0</tem:msgtype>
<tem:scheduled>2022-09-21 14:51:11</tem:scheduled>
<tem:UserMsgID>1YT</tem:UserMsgID>
<tem:prioritet>0</tem:prioritet>
</tem:SMSM>
<tem:SMSM>
<tem:recepient>77011234568</tem:recepient>
<tem:senderid>KiT_Notify</tem:senderid>
<tem:msg>Txt2</tem:msg>
<tem:msgtype>0</tem:msgtype>
<tem:scheduled>2022-09-21 14:51:11</tem:scheduled>
<tem:UserMsgID>2YT</tem:UserMsgID>
<tem:prioritet>0</tem:prioritet>
</tem:SMSM>
</tem:smsarray>
</tem:SendSMSService___SendBulkMessage>
</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___SendBulkMessageResponse
object
SendBulkMessageResponse
Название Метода
Example
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://tempuri.org/">
<SOAP-ENV:Body>
<ns1:SendSMSService___SendBulkMessageResponse>
<ns1:Result>
<ns1:SMSResult>
<ns1:StatusCode>0</ns1:StatusCode>
<ns1:Status>Ok</ns1:Status>
<ns1:Segments>1</ns1:Segments>
<ns1:MsgID>963</ns1:MsgID>
<ns1:ResepDateTime>2022-09-21 16:00:16</ns1:ResepDateTime>
<ns1:Recepient>77011234567</ns1:Recepient>
<ns1:Lang>0</ns1:Lang>
<ns1:UserMsgID>1YT</ns1:UserMsgID>
</ns1:SMSResult>
<ns1:SMSResult>
<ns1:StatusCode>0</ns1:StatusCode>
<ns1:Status>Ok</ns1:Status>
<ns1:Segments>1</ns1:Segments>
<ns1:MsgID>964</ns1:MsgID>
<ns1:ResepDateTime>2022-09-21 16:00:16</ns1:ResepDateTime>
<ns1:Recepient>77011234568</ns1:Recepient>
<ns1:Lang>0</ns1:Lang>
<ns1:UserMsgID>1111</ns1:UserMsgID>
</ns1:SMSResult>
</ns1:Result>
</ns1:SendSMSService___SendBulkMessageResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Last modified: 6 months ago