GetStandaloneSpamResults

Retrieve the results of a standalone spam test.

URLs:

Sandbox:

https://sandbox.emailonacid.com/v4/getStandaloneSpamResults - Default (XML) Request
https://sandbox.emailonacid.com/v4/getStandaloneSpamResults/xml - XML Request
https://sandbox.emailonacid.com/v4/getStandaloneSpamResults/json - JSON Request

Production:

https://api.emailonacid.com/v4/getStandaloneSpamResults - Default (XML) Request
https://api.emailonacid.com/v4/getStandaloneSpamResults/xml - XML Request
https://api.emailonacid.com/v4/getStandaloneSpamResults/json - JSON Request

Request:

XML

<?xml version="1.0" encoding="utf-8"?>
<standalone_spam_results>
    <eoa_test_id>UNIQUE EMAIL TEST ID</eoa_test_id>
</standalone_spam_results>

JSON

{
    "eoa_test_id": 1
}

JSON Validation Schema:

Click here to download.

Request Details

Element Description Data Type Required
eoa_test_id The reference id for the test to retrieve Integer Y

Response:

XML

<?xml version="1.0" encoding="utf-8"?>
<xml>
    <standalone_spam_result>
        <name>Gmail</name>
        <spam>Y</spam>
        <details>...</details>
    </standalone_spam_result>
    <standalone_spam_result>
        <name>Spam Assassin</name>
        <spam>N</spam>
        <details>...</details>
    </standalone_spam_result>
</xml>

JSON

[
  {
    "spam_result": {
      "name": "Gmail",
      "spam": Y,
      "details": "..."
    }
  },
  {
    "spam_result": {
      "name": "Spam Assassin",
      "spam": N,
      "details": "..."
    }
  },
  ....
]

Response Details

Note: Reference CreateStandaloneSpamTest for information on creation of a standalone spam test.

Element Description
name Spam client description
spam Was the email flagged as spam ('Y' or 'N').
details Details of why the email was considered SPAM, will be blank if there are no details given by the SPAM filter. Detail items are separated by the pipe "|" character.