Export It 1.3.1 Documentation

REST Server API: get_mailing_list

Returns a specific mailinglist data for the given id

Resource URL

http://example.com/?ACT=<ACT>&key=<key>&method=get_mailing_list&format=xml&comment_id=573

Parameters

list_id optional The list you want to return subscribers from
order optional The order you'd like the results returned in based on.
keywords optional The keywords to search for members with.
perpage optional How many results to return
offset optional The offset to use for pagination.

Example Request

http://example.com/?ACT=<ACT>&key=<key>&method=get_mailing_list&format=xml&list_id=9

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<mailing_list>
    <subscriber>
        <user_id>368</user_id>
        <list_id>9</list_id>
        <authcode><![CDATA[z3ZczkrR1B]]></authcode>
        <email><![CDATA[test@test.com]]></email>
        <ip_address><![CDATA[127.0.0.1]]></ip_address>
        <list_names><![CDATA[Securit:ee Customers]]></list_names>
    </subscriber>
    <subscriber>
        <user_id>354</user_id>
        <list_id>9</list_id>
        <authcode><![CDATA[mW6jwQEeDM]]></authcode>
        <email><![CDATA[test@test.com]]></email>
        <ip_address><![CDATA[127.0.0.1]]></ip_address>
        <list_names><![CDATA[Securit:ee Customers]]></list_names>
    </subscriber>
    <subscriber>
        <user_id>344</user_id>
        <list_id>9</list_id>
        <authcode><![CDATA[Z06gIoU6UO]]></authcode>
        <email><![CDATA[test@test.com]]></email>
        <ip_address><![CDATA[127.0.0.1]]></ip_address>
        <list_names><![CDATA[Securit:ee Customers]]></list_names>
    </subscriber>
    <subscriber>
        <user_id>341</user_id>
        <list_id>9</list_id>
        <authcode><![CDATA[ABdKs0h6lP]]></authcode>
        <email><![CDATA[test@test.com]]></email>
        <ip_address><![CDATA[127.0.0.1]]></ip_address>
        <list_names><![CDATA[Securit:ee Customers]]></list_names>
    </subscriber>
</mailing_list>
I am flagging this documentation as:

Need Free Developer Support?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">