I created Test email in classic content using below code. but i need to create same email in content builder through soap api.could you please send me Sopa api code for creating email in content builder.

 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
            <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
                <Objects xsi:type="Email">
                    <ObjectID xsi:nil="true"/>
                    <Name>Text Only in API</Name>
                    <TextBody>Good Day,

    Below are the stats from Activity.

    -   Number of new Emails
    -   Number of Old email 
    -   Number of After 10 days emailemail 

    Thank you

                <Subject>AppData Web Activity Reporting </Subject>
                    <EmailType>Text Only</EmailType>

Unfortunately, it is not possible to create assets in content builder with the SOAP API. You must use the REST API to do this. See Content Builder API to get started

From the docs:

Marketing developers, service providers, and third-party developers can create and manipulate marketing content using the Content Builder REST API

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.