Retrieve list of custom mailing properties for mailing with provided ID.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/settings/properties |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
404 Not found |
Mailing ID cannot be found or property is not available |
409 Conflict |
Mailing is sealed |
Example
200 OK
1 2 3 4 5 6 7 8 9 10 11 12 13 |
GET https://api.maileon.com/1.0/mailings/1234/settings/properties 200 < ?xml version="1.0" encoding="UTF-8" standalone="yes"?> <properties> <property> <key>property_name1</key> <value>property_value1</value> </property> <property> <key>property_name2</key> <value>property_value2</value> </property> </properties> |
404 Not Found
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3416/settings/properties 404 <error><message>Mailing with id 3416 not found.</message></error> |
409 Conflict
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3040/settings/properties 409 <error><message>Mailing with ID 3040 cannot be changed as it is sealed.</message></error> |