Retrieve results of Image quality check for mailing with provided ID.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/checks/image |
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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
GET https://api.maileon.com/1.0/mailings/1580/checks/image 200 < ?xml version="1.0" encoding="UTF-8" standalone="yes"?> <imagecheck> <mailingid>1580</mailingid> <timestamp>2016-12-14T21:52:19.292+01:00</timestamp> <state>warning</state> <images> <image> <hosted>true</hosted> <src>http://test.maileon.com/i/cr/d6ec8652-d18b-4a1f-9b12-558f48d5ea31</src> <width>270</width> <height>100</height> </image> <image> <hosted>true</hosted> <src>http://test.maileon.com/i/cr/bb90b8e8-e14d-4ee0-91d4-b88f7c303534</src> </image> <image> <hosted>true</hosted> <src>http://test.maileon.com/i/cr/0517485c-7ccb-445c-9dd7-5a75d5fcf345</src> <alt>Hotel panorama</alt> <width>200</width> <height>140</height> </image> <image> <hosted>true</hosted> <src>http://test.maileon.com/i/cr/a61eb283-6e64-4836-b47a-49d18124f234</src> <alt>Hotel panorama 2</alt> <title>Hotel panorama 2</title> <width>200</width> <height>173</height> </image> <image> <hosted>true</hosted> <src>http://test.maileon.com/i/cr/1609da50-37a0-411b-82a6-3421942ac234</src> <width>140</width> <height>120</height> </image> </images> </imagecheck> |
404 Not Found
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3108/checks/image 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/image 409 <error><message>Mailing with ID 3008 is sealed.</message></error> |