Retrieve results of Message Size quality check for mailing with provided ID.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/checks/messagesize |
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 9 10 11 12 13 14 15 16 17 18 |
GET https://api.maileon.com/1.0/mailings/1571/checks/messagesize 200 < ?xml version="1.0" encoding="UTF-8" standalone="yes"?> <messagesizecheck> <mailingid>1571</mailingid> <timestamp>2017-01-30T15:28:42.879+01:00</timestamp> <state>warning</state> <emailsize>2</emailsize> <messagesize>2</messagesize> <messagesizelimit>200</messagesizelimit> <sizeexceeded>false</sizeexceeded> <attachments></attachments> <attachmentsizelimit>200</attachmentsizelimit> <inlineimages></inlineimages> <headers>0</headers> <html>2</html> <text>0</text> </messagesizecheck> |
404 Not Found
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3108/checks/messagesize 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/messagesize 409 <error><message>Mailing with ID 3008 is sealed.</message></error> |