Request to delete a scheduled SMS

Request to delete a scheduled SMS

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

Headers

NameTypeDescription

Content-type*

String

text/xml; charset=utf-8;

Request Body

NameTypeDescription

login.value*

String

Your login in the system

delete_schedule.schedule.id_sms*

Int

The number of the scheduled SMS to be deleted. Can be obtained by querying the list of scheduled SMS

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>
    <scheduled id_sms="1234">delete</scheduled>
    <scheduled id_sms="1235">not_found</scheduled>

</response>

Deciphering parameters in query responses

ParameterData typeDescription

scheduled.id_sms

Int

SMS message number. Used to check the status of SMS.

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>
     <delete_schedule>
          <schedule id_sms="1234” />
          <schedule id_sms="1235” />

     </delete_schedule>
</request>

Last updated