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
Delete a previously scheduled SMS
Hashtable result =3D tmClient.deleteSMS("1234"); Console.WriteLine("Message with ID {0} was {1}", result["sch= eduled_id"], result["status"]);=20
Arguments:
string scheduled_id:
The ID of the scheduled text message, as returned by the sendSMS method.=
Returns:
A Hashtable with 2 keys: 'scheduled_id', 'status' e.g. result["sche= duled_id"]
Hashtable key | Value |
---|---|
scheduled_id | String: The unique ID of the scheduled messag= e. |
status | The status of the message, i.e., DELETED. |
Specific error codes:
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. |