11
votes
How to test API integration in marketing cloud?
The most basic way to test it is to authenticate using POSTMAN:
Based on the package you installed, use the correct endpoint specified in the Installed Package:
For v1: POST: https://xxxxx.auth....
8
votes
Accepted
SFMC Rest API Transactional Email Send or Transactional Journey or Single Send Journey?
As EazyE states, a = c.
From there onwards, this is a pretty layered question. Definitely you cannot use Single Send Journeys / Transactional Journeys interchangeably.
Opening remark:
The term "...
7
votes
REST API error: Primary key '(primarykey)' does not exists
In the POST you're missing key: before your DE's External Key, so it should be like this :
POST /hub/v1/dataevents/key:DE_external_key/rowset
5
votes
Accepted
WSProxy to retrieve TriggeredSendSummary report
You will need to convert the object to a string. Replace Write(res.Results.Sent); with Write(Stringify(res.Results)); to display the Results array.
However, I see you would like to specifically ...
5
votes
How to delete a data extension (entire DE not only records) using SSJS?
You can do that by using WSProxy:
<script runat="server">
Platform.Load("core", "1.1.1");
var api = new Script.Util.WSProxy();
try {
...
4
votes
Accepted
Journey Builder API to extract total populations
To gather history, you can use the following rest endpoint: {{endPoint}}/interaction/v1/interactions/journeyhistory/search?$page=1&$pageSize=6000
Please note that if you do not put ?$page=1&$...
4
votes
FuelOAuth node is missing in Marketing cloud WSDL
Here's an example SOAP envelope header with fueloauth:
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://...
4
votes
Accepted
How Can I Programmatically Update Multiple non-sendable DEs to be Sendable?
The only way to do this programmatically is to use WSProxy to update the DataExtension object. You are right, you need to update those three fields.
Here is an example call that will update a single ...
4
votes
Salesforce Entry Data Object restrictions in Journey Builder
There are some granular permissions regarding how has access to these on the journey canvas, outlined in this help doc.
Some Marketing Cloud customers want their users to access Salesforce events ...
4
votes
Accepted
Send a transactional message via API with automatically created unique identifier
The documentation is slightly inaccurate here. The difference is found between these two pages:
https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/...
4
votes
Accepted
Disable Multi Factor Authentication (MFA) Notification in SFMC
It appears the only way to disable this notification is to enable MFA. According to these release notes this will become mandatory at some point
4
votes
Accepted
Dynamically send Attachment from Marketing Cloud
The answer to all your questions is yes:
you can store pdfs or other files either in Content Builder or in your sFTP
you can use AMPscript to attach the files to your emails
you can use AMPscript to ...
3
votes
How to synchronize a Filter DE based of a Synchronized DE
EDIT
There is a possibility of automating a Data Filter in Automation Studio (Automatically refresh a Filtered Data Extension), but it won’t work with a Synched DE.
On top of that, if you try ...
3
votes
Accepted
How to handle testing in marketing cloud? can you have a marketing cloud testing instance and push into a production instance as in SFDC via API?
Before you license a brand new SFMC you should read up on multi-org setup for the marketing cloud connector. https://help.salesforce.com/articleView?id=mc_co_multi_org_account_configuration.htm&...
3
votes
Accepted
Is it Possible to Add Email Addresses to the Notification Settings of an Automation via the API?
The answer is NO. There is no way to add an email to the notification settings of an automation.
Actually, there is an option in the Soap request on the help page that "normally" adds this parameter,...
3
votes
Accepted
Set a Blackout period on Triggered Send Definition?
I believe you are looking for send throttling. This should allow you to specify both the time range you want to send between as well as the volume you want to send each hour. You will need SF support ...
3
votes
Creates a trigger send definition in Marketing Cloud Using REST API or SSJS
This REST Route is only for transactional messaging, which does not have a UI component currently. If you want the API calls for triggeredsends within the UI, you would need to use SOAP to create ...
3
votes
Unable to find Triggered Send in marketing cloud
Are you using the relatively new Transactional Messaging API? If this is the case, you will not find any UI for managing those sends, and all operations, such as updating the send definitions when ...
3
votes
Accepted
How to pass attributes to Transactional E-mail content via the API
You are on the right track. Your payload should look more or less like this:
{
"recipient": {
"to": "[email protected]",
"contactKey": "123456&...
3
votes
Accepted
Other way to request SFMC Access token
No, the only way with a Server-to-Server integration is to provide the info in the json format they provided.
You do have the option of using a 'web' or 'public app' option to help keep your client_id ...
3
votes
Accepted
Using Salesforce AMPscript functions in Marketing Cloud - Limitations
Documentation about MC Connect and authentication between clouds:
https://help.salesforce.com/articleView?id=mc_co_authentication.htm&type=0
Quote from above documentation:
"Connected App ...
3
votes
Rest api to list all data extension
So officially you will not be able to get a list of Data Extensions via REST API, but there is an undocumented endpoint that can get it for you.
Note on undocumented endpoints:
Please note that all ...
3
votes
Get count of all contacts in Marketing Cloud programmatically
A seemingly simple question, but you really have to involve a few things in SFMC.
A bit of a chain of things to prepare inside SFMC, but then pretty straightforward. Note, as you will need automation ...
3
votes
Accepted
Pass value from Ampscript to SSJS Sleep function
In your SSJS part, use Variable.GetValue
var milliseconds = Variable.GetValue("@ms")
in the opposite direction, it works with SetValue.
See docs for each:
GetValue, SetValue
As well as more ...
3
votes
v1 Token request does not work (Marketing Cloud) and pulls a NULL result
TO recap the comment above
the v1/token route is only used with the legacy installed package types
if you have an new(enhanced) installed package you need to use the v2 token route
3
votes
Accepted
UnknownHostException while calling Marketing Cloud endpoint
I honestly would prefer to put this into the comments, but they don't leave much space.
Based on your reference to the Salesforce forum (maybe contrary to Sander de Jong) I assume you do not actually ...
3
votes
Accepted
Can I give very specific rights to an API user in Marketing Cloud?
No, the only permissions you can manage are the ones you can see in the Server-to-Server Properties of the package:
3
votes
Changing SFMC Connector from one Sales cloud to another
This is a very broad question and impossible to answer with the input you've given. To make it short: the complexity of disconnecting and reconnecting depends on the current connector setup (...
2
votes
Loading time to read and display Data Extension rows with JS in CloudPages
This would definitely be better done having the third party access the API directly, and not via a cloud page. Adding in the CloudPage just brings in overhead that isn't necessary. Depending on the ...
2
votes
Accepted
How to deploy data extension between SFMC orgs without putting all fields manually
In the June release, Deployment Manager can achieve this for you.
But this post shows you retrieve all the fields in the DE
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
marketingcloudapi × 232marketing-cloud × 224
ssjs × 39
rest-api × 34
marketing-cloud-connect × 29
ampscript × 24
api × 24
journeybuilder × 22
soap-api × 21
dataextensions × 16
automationstudio × 11
triggered-send × 11
mobilepush × 10
cloudpage × 9
email × 6
mobileconnect × 6
rest × 5
fuel-sdk × 5
content-builder × 5
data-views × 5
sfmc-business-unit × 5
apex × 4
community × 3
permissions × 3
oauth2 × 3