Message-ID: <1524170084.15879.1614958570218.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15878_755732429.1614958570218" ------=_Part_15878_755732429.1614958570218 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html deleteSMS - C#

deleteSMS - C#

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

Delete a previously scheduled SMS

=20
=20
=20
=20
=20
=20
Example
=20
Hashtable result =3D tmClient.deleteSMS("1234");
Console.WriteLine("Message with ID {0} was {1}", result["sch=
eduled_id"], result["status"]);
=20
=20
=20
=20
=20
=20
=20

Arguments:

=20
=20
=20
=20
=20
=20

string scheduled_id: 

=20
=20
=20
=20

The ID of the scheduled text message, as returned by the sendSMS method.=

=20
=20
=20
=20
=20
=20

Returns:

A Hashtable with 2 keys: 'scheduled_id', 'status' e.g. result["sche= duled_id"]


=20
=20
=20
=20
Hashtable key Value
scheduled_id 

String: The unique ID of the scheduled messag= e.

status  The status of the message, i.e., DELETED.
=20
=20
=20
=20
=20
=20

Specific error codes:

=20
=20
=20
=20
Code Meaning
35 The provided Resource ID is not valid or is malf= ormed.
36

This can have multiple meanings: either 1) th= e scheduled message id doesn't exist or belongs to other account than the o= ne using the REST API; or 2) the scheduled message has already been sent an= d, as so, can't be deleted.

=20
=20
=20
=20 =20
=20
=20

 

=20
=20
=20
=20

 

=20
=20
=20
------=_Part_15878_755732429.1614958570218--