This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://distributed-marketing-content-blocks.{{stackKey}}.marketingcloudapps.com/message-settings-block/v1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://distributed-marketing-content-blocks.{{stackKey}}.marketingcloudapps.com/rich-text-block/v1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://distributed-marketing-content-blocks.{{stackKey}}.marketingcloudapps.com/free-text-block/v1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://distributed-marketing-content-blocks.{{stackKey}}.marketingcloudapps.com/image-block/v1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 108495, | |
"customerKey": "090c69e7-59ac-4286-8733-f8f7613ab470", | |
"objectID": "1cd57450-3f4a-46a8-9177-068f031ff56f", | |
"contentType": "application/vnd.etmc.email.Message; kind=template", | |
"assetType": { | |
"id": 207, | |
"name": "templatebasedemail", | |
"displayName": "Template-Based Email" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"assetType": { | |
"id": 207 | |
}, | |
"name": "NTO Welcome Series Email", | |
"views": { | |
"subjectline": { | |
"content": "Welcome %%First_Name%% to Northern Trail Outfitters" | |
}, | |
"preheader": {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<soap:Body> | |
<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> | |
<RetrieveRequest> | |
<ObjectType>DataFolder</ObjectType> | |
<Properties>Client.ID</Properties> | |
<Properties>Name</Properties> | |
<Properties>ID</Properties> | |
<Properties>ObjectID</Properties> | |
<Properties>ContentType</Properties> | |
<!--Parent Details--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$cid = new Marketing Cloud_ClientID(); | |
$cid->ID = 123456; // This is the ID of the specific business unit | |
$rr->ClientIDs = array($cid); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo '<pre>'; | |
$path = $_SERVER[DOCUMENT_ROOT].'/00 Includes/'; | |
require($path . 'exacttarget_soap_client.php'); | |
$wsdl = 'https://webservice.exacttarget.com/etframework.wsdl'; | |
try{ | |
/* Create the Soap Client */ | |
$client = new Marketing CloudSoapClient($wsdl, array('trace'=>1)); | |
/* Set username and password here */ | |
$client->username = XXXXX; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void RetrieveDataFolder() | |
{ | |
SoapClient framework = new SoapClient(); | |
framework.ClientCredentials.UserName.UserName = "xxx"; | |
framework.ClientCredentials.UserName.Password = "xxx"; | |
String requestID; | |
String status; | |
APIObject[] results; | |
SimpleFilterPart sfp = new SimpleFilterPart(); | |
sfp.Property = "ContentType"; |
NewerOlder