Retrieve a list of mailing templates of the connected account. The results can be returned either as XML (application/vnd.maileon.api+xml) or JSON (application/vnd.maileon.api+json)
1 |
GET https://api.maileon.com/1.0/media/templates/mailings |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
Example XML
1 2 3 |
GET https://api.maileon.com/1.0/media/templates/mailings Accept: application/vnd.maileon.api+xml; charset=utf-8 ... |
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 |
Status: 200 OK Content-Type: application/vnd.maileon.api+xml <mailing_templates> <mailing_template> <name>AMP Demo - externe Daten - Sendout</name> <path>AMP/AMP Demo - externe Daten - Sendout</path> <created>2019-11-25T11:11:23+0100</created> </mailing_template> <mailing_template> <name>XQ Blackfriday</name> <path>Black Friday/XQ Blackfriday</path> <created>2018-11-04T13:12:53+0100</created> </mailing_template> <mailing_template> <name>Rechnungsversand DE</name> <path>Mailings XQ/Rechnungsversand DE</path> <created>2018-11-29T11:49:19+0100</created> </mailing_template> <mailing_template> <name>Rechnungsversand EN</name> <path>Mailings XQ/Rechnungsversand EN</path> <created>2018-11-29T11:49:43+0100</created> </mailing_template> </mailing_templates> |
Example JSON
1 2 3 |
GET https://api.maileon.com/1.0/media/templates/mailings Accept: application/vnd.maileon.api+json; charset=utf-8 ... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
Status: 200 OK Content-Type: application/vnd.maileon.api+json [ { "name": "AMP Demo - externe Daten - Sendout", "path": "AMP/AMP Demo - externe Daten - Sendout", "created": "2019-11-25T10:11:23+0000" }, { "name": "XQ Blackfriday", "path": "Black Friday/XQ Blackfriday", "created": "2018-11-04T12:12:53+0000" } { "name": "Rechnungsversand DE", "path": "Mailings XQ/Rechnungsversand DE", "created": "2018-11-29T10:49:19+0000" }, { "name": "Rechnungsversand EN", "path": "Mailings XQ/Rechnungsversand EN", "created": "2018-11-29T10:49:43+0000" } ] |