Retrieve results of Test Mail Sendout quality check for mailing with provided ID.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/checks/testsendout |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
404 Not found |
Mailing ID cannot be found or results are not available |
409 Conflict |
Mailing is sealed |
Example
200 OK
1 2 3 4 5 6 7 |
GET https://api.maileon.com/1.0/mailings/2517/checks/testsendout 200 <sendoutcheck> <mailingid>2517</mailingid> <timestamp>2017-04-21T16:20:01.733+02:00</timestamp> <state>success</state> </sendoutcheck> |
404 Not Found
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3108/checks/testsendout 404 <error><message>Mailing with id 3108 not found.</message></error> |
409 Conflict
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3008/checks/testsendout 409 <error><message>Mailing with ID 3008 is sealed.</message></error> |