Значение
POST http://app.bsg.hk/xml
Обязательные параметры
username
SMPP/API-password
"sms"
The telephone number you want to do a network query on. Required
Client Reference ID
The serial number of the subscriber in an XML document. Required
Пример запроса
<? xml version = «1.0» encoding = «utf-8»?> <request>
<message type = «sms»>
<sender>sender</sender>
<text>sms text</text>
<abonent phone = «380631231233» client_id_sms = «3431» number_sms = «1»/>
<abonent phone = «380633213211» client_id_sms = «3425» number_sms = «2»/>
</message>
<security>
<login value = «login»/>
<password value = «password»/>
</security>
</request>
Возвраты
Returns an XML document with a message ID if the request was successful. If the request failed, an error will be returned.
The serial number of the subscriber in an XML document.
Message ID
SMS delivery turn ID. This parameter is needed for compatibility.
The number of parts the text message is made of.
SMS status («send»), if the text message has been sent.
Примеры ответов
<?xml version = «1.0» encoding = «utf-8»?> <response>
<information number_sms = «1» id_sms = «366» id_turn = «1428476741» parts = «1»> send</information>
<information number_sms = «2» id_sms = «367» id_turn = «1428476741» parts = «1»> send </information>
</response>