Webcom Mobi API Docs
RU
  • Introduction
  • СПОСОБЫ ВЗАИМОДЕЙСТВИЯ С A2P ПЛАТФОРМОЙ
    • JSON specification
      • Sending SMS, Viber, Flash SMS, WAP-Push
      • SMS status request
        • POST request
        • Webhook
      • Balance check request
    • HTTP GET specification
      • Sending SMS
      • Sending Viber
      • Sending Cascade
      • Request message status
      • Registration
    • XML specification
      • Sending SMS, Viber, Flash SMS, WAP-Push
      • SMS status request
        • POST request
        • Webhook
      • Balance check request
      • Request to receive a list of senders
      • Request to add senders
      • Request for incoming SMS
      • Request for information by phone number
      • Request for obtaining the list of bases
      • Request to change parameters, add/remove bases
      • Request for receiving the list of subscribers of the base
      • Request to add/edit/delete subscribers of the base
      • Request to get the list of numbers from the STOP list
      • Request to add/remove subscribers to the STOP list
      • Request to receive the list of scheduled SMS
      • Request to delete a scheduled SMS
      • Request to get the time of change of something
      • Request for time verification
      • File upload request
      • Request to refill users' balance
    • ВЗАИМОДЕЙСТВИЕ С ПЛАТФОРМОЙ MSG (НЕОФ КАНАЛЫ)
    • Specification JSON
      • Чекинг базы номеров
Powered by GitBook
On this page
  • Request to receive the list of scheduled SMS
  • Deciphering parameters in query responses
  • Example XML request
  1. СПОСОБЫ ВЗАИМОДЕЙСТВИЯ С A2P ПЛАТФОРМОЙ
  2. XML specification

Request to receive the list of scheduled SMS

Request to receive the list of scheduled SMS

POST http://lk.mysmpp.ru/xml/list_scheduled.php

Headers

Name
Type
Description

Content-type*

String

text/xml; charset=utf-8;

Request Body

Name
Type
Description

login.value*

String

Your login in the system

scheduled.page*

Int

Page number. The entire list of scheduled SMS is divided into pages. You cannot request the whole list. You can only request an individual page. The numbering starts with one

token.value*

String

You can use a secret key instead of login and password. To obtain it, please contact your manager

password.value*

String

Your password in the system

<?xml version="1.0" encoding="utf-8" ?>
<response>
     <phones page="1" num_pages="100">
          <scheduled id_sms="1234" time_put_turn="2011-11-14 12:42:40" originator="kosty" phone="79612242243" type_sms="sms" text_sms="ТекстSMS" count_sms="2" name_delivery="Newsletter title" time_send="2011-11-14 21:00" validity_period="2011-11-17 21:00:00" />
          <scheduled id_sms="1235" time_put_turn="2011-11-14 12:42:40" originator="kosty" phone="79612242244" type_sms="sms" text_sms="ТекстSMS" count_sms="2" name_delivery="Newsletter title" time_send="2011-11-14 21:00" validity_period="2011-11-17 21:00:00" />
          …
     </phones>
</response>
<?xml version="1.0" encoding="utf-8"?>
<response>
     <error>Error message</error>
</response>

Deciphering parameters in query responses

Parameter
Data type
Description

phones.page

Int

Page number

phones.num_pages

Int

Total pages

phones.scheduled.id_sms

Int

SMS number. Used to delete a scheduled SMS

phones.scheduled.time_put_turn

Int

Time to add to the scheduler

phones.scheduled.originator

String

SMS sender. This is the value that will be displayed on the subscriber's phone in the SMS from field

phones.scheduled.phone

Int

Number of the subscriber to whom the SMS is addressed

phones.scheduled.type

String

SMS message type:

  • sms - regular SMS

  • flashsms - Flash SMS

  • wappush - WAP-Push

  • vcard - business card (vCard)

phones.scheduled.text_sms

String

SMS text

phones.scheduled.count_sms

Int

Number of SMS message parts

phones.scheduled.name_delivery

String

Newsletter title

phones.scheduled.time_send

Date

The date and time of the shipment in the format:

YYYY-MM-DD HH:MM

where, YYYY-year, MM-month, DD-day, HH-hours,

MM-minutes

phones.scheduled.validity_period

Date

The date and time after which no attempts will be made to deliver SMS in the format:

YYYY-MM-DD HH:MM:SS

where, YYYY-year, MM-month, DD-day, HH-hours,

MM-minutes

SS-seconds

error

String

The error text can take the following values:

  • Incorrect XML document format

  • Incorrect login or password

  • POST data is missing

Example XML request

<?xml  version="1.0" encoding="utf-8" ?>
<request>
     <security>
          <login value="login" />
          <password value="password" />
     </security>
     <scheduled page=”1”/>
</request>

Last updated 1 year ago