Service


Click here for a complete list of operations.

GetSmtpReportPaging

Gets a page for the SMTP Report.

Arguments:
loginEmail: The login mail of the user's Spread account.
password: The login password of the user's spread account.
pageNumber: The page number of the report.
pageSize: The number of rows in the page. Maximum size of 100 is supported.
keyword: The search criteria to filter the emails by.
status: The email status to filter by. "Sent", "Failed", "Bounced" are supported, otherwise will search all statuses.
startDate: The starting date to filter emails from.
endDate: The ending date to filter emails to.

Returns a JSON string.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
loginEmail:
password:
pageNumber:
pageSize:
keyword:
status:
startDate:
endDate:

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: service2.rspread.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://service.reasonablespread.com/GetSmtpReportPaging"

<?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>
    <GetSmtpReportPaging xmlns="http://service.reasonablespread.com/">
      <loginEmail>string</loginEmail>
      <password>string</password>
      <pageNumber>int</pageNumber>
      <pageSize>int</pageSize>
      <keyword>string</keyword>
      <status>string</status>
      <startDate>string</startDate>
      <endDate>string</endDate>
    </GetSmtpReportPaging>
  </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>
    <GetSmtpReportPagingResponse xmlns="http://service.reasonablespread.com/" />
  </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: service2.rspread.com
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>
    <GetSmtpReportPaging xmlns="http://service.reasonablespread.com/">
      <loginEmail>string</loginEmail>
      <password>string</password>
      <pageNumber>int</pageNumber>
      <pageSize>int</pageSize>
      <keyword>string</keyword>
      <status>string</status>
      <startDate>string</startDate>
      <endDate>string</endDate>
    </GetSmtpReportPaging>
  </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>
    <GetSmtpReportPagingResponse xmlns="http://service.reasonablespread.com/" />
  </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/GetSmtpReportPaging?loginEmail=string&password=string&pageNumber=string&pageSize=string&keyword=string&status=string&startDate=string&endDate=string HTTP/1.1
Host: service2.rspread.com
HTTP/1.1 200 OK

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/GetSmtpReportPaging HTTP/1.1
Host: service2.rspread.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

loginEmail=string&password=string&pageNumber=string&pageSize=string&keyword=string&status=string&startDate=string&endDate=string
HTTP/1.1 200 OK