+49 69 83008980 service@xqueue.com

Benötigen Sie Hilfe?

Get List of Mailing Templates

Sie sind hier:
< Alle Themen
 

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)

GET https://api.maileon.com/1.0/media/templates/mailings

Response

HTTP status code Description
200 OK If everything was ok.
 

Example XML

GET https://api.maileon.com/1.0/media/templates/mailings
Accept: application/vnd.maileon.api+xml; charset=utf-8
...
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

GET https://api.maileon.com/1.0/media/templates/mailings
Accept: application/vnd.maileon.api+json; charset=utf-8
...
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"
    }
]

 

Inhaltsverzeichnis