Adding Subscribers to a Lock and Publish Account

From $1

    Doc-Wiki-BannerHK.png

    (Click the banner to go to the related Docs.Code.ExactTarget.com page.)

    This document contains conceptual and procedural information about adding subscribers to a lock and publish account. 

    Why Add Subscribers to a Lock and Publish Account

    Lock and publish account allow you to share content from a central administrator account to lock and publish accounts, which can edit selected content areas and send emails to their subscribers. Adding subscribers at the lock and publish level ensures that only the appropriate account can send to specific subscribers while utilizing approved content from the admin account.

    How To Add Subscribers to a Lock and Publish Account

    Use the sample code below to construct your own calls to add subscribers at the lock and publish account level. You can use ClientID or ChannelMemberID to identify the account in which to add the subscriber.

    Sample SOAP Envelope to Add a Subscriber

    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Header>
            <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <wsse:UsernameToken wsu:Id="UsernameToken-32259181" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                    <wsse:Username>USERNAME</wsse:Username>
                    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD</wsse:Password>
                </wsse:UsernameToken>
            </wsse:Security>
        </soapenv:Header>
        <soapenv:Body>
            <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
                <Options>
                </Options>
                <Objects xsi:type="Subscriber">
                    <Client>
                        <ID>123</ID><!-- This is the channel member ID-->
                    </Client>
                    <ObjectID xsi:nil="true">
                    </ObjectID>
                    <EmailAddress>help@example.com</EmailAddress>
                    <!-- Lists tag is optional. If not included they will be added to All Subscribers only -->
                    <Lists>
                        <ID>123</ID>
                        <ObjectID xsi:nil="true">
                        </ObjectID>
                    </Lists>
                </Objects>
            </CreateRequest>
        </soapenv:Body>
    </soapenb:Envelope>

    Sample SOAP Envelope to Add Multiple Subscribers

    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Header>
            <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <wsse:UsernameToken wsu:Id="UsernameToken-32259181" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                    <wsse:Username>USERNAME</wsse:Username>
                    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD</wsse:Password>
                </wsse:UsernameToken>
            </wsse:Security>
        </soapenv:Header>
        <soapenv:Body>
            <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
                <Options>
                </Options>
                <Objects xsi:type="Subscriber">
                    <Client>
                        <ID>123</ID><!-- This is the channel member ID-->
                    </Client>
                    <ObjectID xsi:nil="true">
                    </ObjectID>
                    <EmailAddress>help@example.com</EmailAddress>
                    <!-- Lists tag is optional. If not included they will be added to All Subscribers only -->
                    <Lists>
                        <ID>123</ID>
                        <ObjectID xsi:nil="true">
                        </ObjectID>
                    </Lists>
                    </Objects>
                <Objects xsi:type="Subscriber">
                    <Client>
                        <ID>123</ID><!-- This is the channel member ID-->
                    </Client>
                    <ObjectID xsi:nil="true">
                    </ObjectID>
                    <EmailAddress>morehelp@example.com</EmailAddress>
                    <!-- Lists tag is optional. If not included they will be added to All Subscribers only -->
                    <Lists>
                        <ID>123</ID>
                        <ObjectID xsi:nil="true">
                        </ObjectID>
                    </Lists>
                </Objects>
            </CreateRequest>
        </soapenv:Body>
    </soapenv:Envelope>

    This page was last updated by Ryan Williams on Fri, 06 Jan 2012 21:24:51 GMT.

    If you require assistance with the ExactTarget application, please contact Global Support. If you wish to send Ryan direct feedback, fill out the form below:

     


    Was This Page Helpful?
    Suggestions or Comments:
    Name (optional):
    Email Address (optional):
    Enter 17860 backwards:
       
    Tags: (Edit tags)
    • No tags
     
    Comments (0)
    You must login to post a comment.

     
    Powered by MindTouch 2010
    Admin