Business at the Speed of Text

Take a few minutes to watch how Solutions by Text can provide you with a compliant solution to enhance the customer experience and increase your bottom line through the power of texting.

Watch Videos

Two-Way Texting Changes the Game

Put real-time text responses in your customers’ pockets and real-time access at your staff’s fingertips.

Find Out More

Two-Way Texting Changes the Game

Put real-time text responses in your customers’ pockets and real-time access at your staff’s fingertips.

Find Out More

Business at the Speed of Text

Take a few minutes to watch how Solutions by Text can provide you with a compliant solution to enhance the customer experience and increase your bottom line through the power of texting.

Watch Videos

We're here for you.

Solutions by Text offers 24 hour support - both online and offline.

Give us a Call

Two-Way Texting Changes the Game

Put real-time text responses in your customers’ pockets and real-time access at your staff’s fingertips.

Find Out More

We Work With the Best

From retail to financial solutions, we’re constantly working with our clients to push the boundaries and find new ways to leverage SMS for business.

See Our Success Stories

 
 
 
 
 

Syntax

C#

[OperationContractAttribute()] 
SBT.API.DataContracts.Common.WSGeneralResponse DeleteMMS( 
   string securityToken,
   string orgCode,
   string fileName
)

 

WSDL

Production: https://ui.solutionsbytext.com/Sbt.App.SetUp/WSServices/GeneralWSService.svc?singleWsdl

Staging: https://test.solutionsbytext.com/Sbt.App.SetUp/WSServices/GeneralWSService.svc?singleWsdl

 

Parameters

securityToken

- String[1000] (Required) - SecurityToken to authenticate the user.

orgCode 

- String[20] (Required) - Organization Code of the group.

fileName

- The filename of the MMS image to be deleted.

 

Return Value

WSTemplateResponse
NameTypeDescription

ErrorCode

int

For Success/Failure, it returns an error number.

Message

string

Message related to the Error code.

 

Examples

C#

var requestdata = new
            {
                securityToken = "validsecurityToken",
                orgCode = "orgCode",
                fileName = "sampleImage.jpg"
            };

            string data2 = JsonConvert.SerializeObject(requestdata).ToString();
            txtRequestFormat.Text = data2;

            System.Net.WebClient webClient = new System.Net.WebClient();
            webClient.Headers["Content-type"] = "application/json";
           webClient.Encoding = Encoding.UTF8;
            
            var strDelResponse = webClient.UploadString("https://ui.solutionsbytext.com/SBT.App.SetUp/RSServices/GeneralRSService.svc/DeleteMMS", "DELETE", data2);

//Note: “strDelResponse” contains the response which is in JSON format.

 

SOAP

Soap Request
   
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://SBTService/ServiceContracts/">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:DeleteMMS>
         <!--Required:-->
         <ser:securityToken>Valid Security Token</ser:securityToken>
         <!--Required:-->
         <ser:orgCode>Group Org Code</ser:orgCode>
         <!--Required:-->
         <ser:fileName>MMS File Name</ser:fileName>
      </ser:DeleteMMS>
   </soapenv:Body>
</soapenv:Envelope>

   
  Soap Response
  
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <DeleteMMSResponse xmlns="http://SBTService/ServiceContracts/">
         <DeleteMMSResult xmlns:a="http://SBTAPIService/DataContract/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorCode>1568</a:ErrorCode>
            <a:Message>File successfully deleted</a:Message>
         </DeleteMMSResult>
      </DeleteMMSResponse>
   </s:Body>
</s:Envelope>

 

REST

Method: DELETE

URL: https://ui.solutionsbytext.com/SBT.App.SetUp/RSServices/GeneralRSService.svc/DeleteMMS

Sample JSON Request:

{

    "securityToken": "validSecurityToken",

    "orgCode": "orgCode",

    "fileName" : "sampleImage.jpg"

}

 

Sample JSON  Response:

{

  "DeleteMMSResult": {

    "ErrorCode": 1568,

    "Message": "File successfully deleted"

  }

}


Send Feedback