Skip to end of metadata
Go to start of metadata

 

Delete a previously scheduled text message, provided that it hasn't been sent yet.

The DELETE request should be sent to the Resource URL in the following format:

http://api.textmarketer.co.uk/services/rest/sms/<scheduledID>

 

e.g. for a scheduled message with ID '101', the URL would be:

http://api.textmarketer.co.uk/services/rest/sms/101

 

Example successful response body XML:

Response meanings:

XML tag/attributeMeaning
scheduled_id 

The Unique ID of the scheduled message that was deleted.

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

specific errors:

CodeMeaning
35The provided Resource ID is not valid or is malformed.
36

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

Example error response body XML:

DTD for sms DELETE:

  • No labels