We currently have a python script that generates an HTML template and uploads it to Marketing Cloud's Classic Content product, via FuelSDK:
my_client = FuelSDK.ET_Client()
email = FuelSDK.ET_Email()
email.auth_stub = my_client
email.props = {"CustomerKey": datetime.now(),
"Name": email_sender_name,
"Subject": subject_line,
"HTMLBody": email_body.decode('utf-8'),
"EmailType": "HTML",
"IsHTMLPaste": "true"}
try:
response = email.post()
As Classic Content is being retires, what is the equivalent approach for getting a basic HTML email into Content Builder?
I assume that it's the REST API, but it's a little unclear what is supported. Anyone make this transition and have advice?