Retrieve results of Approval Mail Sendout quality check for mailing with provided ID.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/checks/approvalprocess |
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 8 |
GET https://api.maileon.com/1.0/mailings/1571/checks/approvalprocess 200 < ?xml version="1.0" encoding="UTF-8" standalone="yes"?> <sendoutcheck> <mailingid>1571</mailingid> <timestamp>2017-01-30T15:29:04+01:00</timestamp> <state>warning</state> </sendoutcheck> |
404 Not Found
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3108/checks/approvalprocess 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/approvalprocess 409 <error><message>Mailing with ID 3008 is sealed.</message></error> |