Service


Click here for a complete list of operations.

Send2

The same function as Send but you can set specify campaign name instead of today as default campaign name.
Arguments:

LoginEmail: Login Email of Spread.
Password: The password of your Spread account or API Key which you can retrieve from your Spread account (My account=> Settings).
CampaignName: The name of the campaign to be send.
From: The email address of sender.
FromName, The name of sender.
[To]: The email address of recipient.
Subject: The subject of the Email.
Body: The content of the Email.

Remarks: The maximum daily limit 20 different campaign Name.The contact will be automatically added to the contact list named "Auto_ + Campaign Name". This function allows duplicate sending, so the contact list may contains duplicate email. Don't use this contact list in other campaigns, if you want to avoid duplicate sending.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
LoginEmail:
Password:
CampaignName:
From:
FromName:
To:
Subject:
Body:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /service.asmx HTTP/1.1
Host: service.uat.fusionbank.cloud
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://service.reasonablespread.com/Send2"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Send2 xmlns="http://service.reasonablespread.com/">
      <LoginEmail>string</LoginEmail>
      <Password>string</Password>
      <CampaignName>string</CampaignName>
      <From>string</From>
      <FromName>string</FromName>
      <To>string</To>
      <Subject>string</Subject>
      <Body>string</Body>
    </Send2>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Send2Response xmlns="http://service.reasonablespread.com/">
      <Send2Result>string</Send2Result>
    </Send2Response>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /service.asmx HTTP/1.1
Host: service.uat.fusionbank.cloud
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Send2 xmlns="http://service.reasonablespread.com/">
      <LoginEmail>string</LoginEmail>
      <Password>string</Password>
      <CampaignName>string</CampaignName>
      <From>string</From>
      <FromName>string</FromName>
      <To>string</To>
      <Subject>string</Subject>
      <Body>string</Body>
    </Send2>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Send2Response xmlns="http://service.reasonablespread.com/">
      <Send2Result>string</Send2Result>
    </Send2Response>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /service.asmx/Send2?LoginEmail=string&Password=string&CampaignName=string&From=string&FromName=string&To=string&Subject=string&Body=string HTTP/1.1
Host: service.uat.fusionbank.cloud
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://service.reasonablespread.com/">string</string>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /service.asmx/Send2 HTTP/1.1
Host: service.uat.fusionbank.cloud
Content-Type: application/x-www-form-urlencoded
Content-Length: length

LoginEmail=string&Password=string&CampaignName=string&From=string&FromName=string&To=string&Subject=string&Body=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://service.reasonablespread.com/">string</string>