Questions tagged [marketingcloudapi]
The marketingcloudapi tag has no usage guidance.
196
questions
0
votes
0
answers
22
views
Retrieving DE data with API. ContinueRequest is returning the same data
I'm making the following SOAP API call to get records from a data extension. The DE holds more than 2500 records, so if the response says more data is available, my script will insert the request ID ...
0
votes
1
answer
18
views
Email thumbnail could not be retrieved under Individual Email results
We have Marketing Cloud connected to Sales Cloud connected with MC Connect. Now these emails are shown as Individual Email Results in Sales Cloud. All works well but the problem is its not showing ...
0
votes
0
answers
18
views
API Interactions not being entered into Journey
I am using the Journey Builder's "Fire Entry Event" REST API to enter contacts into my Journey in Marketing Cloud.
When firing the event using a payload similar to this:
{
"...
0
votes
1
answer
38
views
How to get Send Classification ID, Delivery Profile ID and Sender profile ID in SFMC?
I am trying to make an API call from Postman to make a test send.
I am trying to implement the solution given here - https://gortonington.com/email-send-preview-and-test-sends-via-rest-api/. I am ...
0
votes
0
answers
10
views
When do SFMC outbound API calls from within ampScript execute? [duplicate]
I know that we can make calls to web services outside of SFMC using methods mentioned here: SFMC outbound API calls
I want to know if I add these API calls to the ampScript, when exactly do they ...
0
votes
0
answers
18
views
Retrieving SQL Query Activity status with SOAP API returns "OLE DB provider unable to begin a distributed transaction" error
I need to know when a SQL Query Activity is done and ran without errors. Therefore I check the status every 10 seconds until it's completed based on the following solution:
Checking the Status of the ...
0
votes
1
answer
23
views
How do I retrieve an Event Definition Key having the Journey specifications?
I'm trying to develop a REST service on a CodeResource that, among other things, expects to receive in the JSON payload a field containing the name of the Journey.
Based on the value contained in this ...
0
votes
1
answer
25
views
Can I give very specific rights to an API user in Marketing Cloud?
For a developer using API in Marketing Cloud, can we give specific rights ( more than a simple Read/Write/Send) ?
Like being able to delete only the content created by this access ?
Or being able to ...
0
votes
2
answers
55
views
Retrieve all Data Extensions across all running journeys
I found out on this forum there is an option with Marketing Cloud API to retrieve all the Data Extensions associated with Journeys.
When using Postman, the request below works perfectly
GET /...
0
votes
1
answer
47
views
Marketing Cloud App SOAP API "Error: API Permission Failed." on every call
Overview: I am using SSO to login to my marketing cloud app, and trying to then hit the API to load a list of DataExtensions. However it seems no matter the call I make, I get the same error:
<?xml ...
-1
votes
1
answer
29
views
Can I restrict rights to an API user in Marketing Cloud?
The devs working with me are asking if we can give only Read access to some developpers, and full access to others ?
I know only, in Setup, the Apps> Installed Package > Instance API values. But ...
0
votes
1
answer
116
views
UnknownHostException while calling Marketing Cloud endpoint
When trying to call Marketing Cloud REST Endpoint, following error happens intermittently.
nested exception is java.net.UnknownHostException: <SFMC_URL>
Saw similar article in Salesforce Forum ...
0
votes
0
answers
66
views
Setup the Name Credential and Auth Provider for Marketing Cloud API
We are intent to use Marketing Cloud API using Apex Callout.
Initially, I was trying to set up a Name Credential and Auth Provider for the Server-Server API Package on the MC side.
But with my testing,...
0
votes
0
answers
18
views
Retrieve MobilePush notifications on client on demand without using MobilePush SDKs
Is it possible to retrieve MobilePush notifications that were sent to a device on-demand ("pull" notifications)? Is there a REST API to retrieve the notifications that were sent to a ...
0
votes
0
answers
32
views
Does SFMC have some sort of health check API? Or are there any workarounds to achieve the same sort of thing?
We are looking to use SFMC's Event Notification Service API to notify us when certain SMSs and EDMs are failing to reach our customers. With that in mind it is also vital that we know when SFMC itself ...
1
vote
0
answers
29
views
Marketing Cloud Connector Update
Salesforce is suggesting we should update the way we update catalog into Marketing Cloud. It used to be done by a clint side javascript and now it must be done via API integration or by batch process.
...
0
votes
1
answer
46
views
Does WSProxy Calls consume SFMC API limits?
We have a use-case where we have to find out all the Data extensions present in a Business unit. We can achieve this by using the WSProxy Retrieve option or SSJS RetrieveRequest approach. As the ...
1
vote
0
answers
52
views
keyWindow lost when call to start watching location in iOS APP
When we call to sfmc_startWatchingLocation, if we have location permissions granted, with the conditions details below, after assign window key:
window.makeKeyAndVisible()
its provokes to lose the ...
0
votes
1
answer
30
views
How to Unassociate Campaigns from Automations in Marketing cloud? [closed]
We have some automations which were tagged to a wrong campaigns. Now I dont find a way to un-tag/ unassociate those campaigns. Is there any way to do it via APIs or SSJS? I could not find anything on ...
0
votes
0
answers
52
views
Triggered send not sending email
I am using Python Fuel-SDK. I get the following response from triggered send, but the email is not sent
Send Status: True
Code: HTTPStatus.OK
Message: OK
Result Count: 1
Results: [(...
0
votes
1
answer
480
views
SFMC Rest API Transactional Email Send or Transactional Journey or Single Send Journey?
REST API is not my forte, can someone help me understand the difference between a REST Call for
A) transactional email send
b) single send journey
c) transactional send journey
I would like to ...
0
votes
1
answer
32
views
Error Creating a row in an existing Data Extension in Sales Force Marketing Cloud through SOAP API
I want to add a new row into an existing data extension in SFMC using an API call, I tried using SOAP API, Following are the Error and API request message:
Error : 400 Bad Request.
Request URL : https:...
0
votes
2
answers
97
views
Using the Marketing Cloud REST API, can a value in a row in a data extension be changed if the column is part of the primary key?
I am considering using this endpoint:
https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/putDataExtensionRowByKey.html
to insert and update (UPSERT) values.
Is it possible to use ...
1
vote
2
answers
42
views
BadRequest Error Response on DataExtension Upsert API Call
I have been looking at the SYNC endpoints for data extensions and
I'm making calls to the endpoint: POST /hub/v1/dataevents/key:ET_Contact_Detail/rowset
with a body of:
[
{
"keys"...
0
votes
1
answer
51
views
Update Subscriber Key in All subscriber generated through trigger sent
Hope everyone is doing well.
I have a scenario, Please can you provide your inputs if its possible:
When we target an audience(using data extension) through send flow, the subscriber are added to All ...
0
votes
0
answers
34
views
Retrieve External Key of Data Extensison using MC API
I would like to retrieve the External Key of the Data Extension used in the journey. I am using a NodeJS backend, so it has to be through the API. I have read that it is currently impossible to do ...
0
votes
1
answer
42
views
Create CloudPages webpage using API or AppExchange
Using the Content Builder API I have been able to create several assets including, png, codesnippet block, html paste email and template. I tried creating a webpage type. Even though I received a 200 ...
1
vote
0
answers
176
views
Salesforce Marketing cloud rest API from Salesforce Cloud (apex)
I'm trying do set Auth. Providers and Named Credential for the salesforce marketing cloud in order to be able to make callout from apex without worrying to get and refresh the token.
Is there any ...
0
votes
0
answers
38
views
Marketing Cloud Simple Query with filter Bad Request - Need Help
I am making the following REST GET call:
https://{{et_subdomain}}.rest.marketingcloudapis.com/asset/v1/content/assets?$page=1&$pagesize=50&$orderBy=AssetType asc&$filter=AssetType.Views....
1
vote
0
answers
68
views
Discount Coupon Codes with the opt-in functionality in Marketing Cloud [closed]
I am trying to send the discount coupon codes upon opting-in to my contacts with the below conditions:
Initial Opt-in email - Opt-in to our emails and we’ll give you a discount code (click button to ...
0
votes
1
answer
70
views
SSJS WSProxy Create BounceEvent
I am Adding new subscriber to marketing cloud from another system. Some of the subscriber are hard bounced and have a number of bouncecount.
I can create subscriber with Active , Held and Unsubscribe. ...
4
votes
0
answers
62
views
how data in _open data view is recorded in SFMC
As of now, our understanding of data views is that data is mostly real-time. But is this true for all data views or only specific data views? if specific, then which ones?
Recently, we noticed that we ...
0
votes
0
answers
67
views
Install managed package in Marketing Cloud automatically using Install URL WITHOUT publishing on AppExchange
Note that this post is specific to Marketing Cloud. I know that you can have unmanaged packages in Salesforce and install them by clicking a link without ever listing them on AppExchange.
What I'm ...
0
votes
1
answer
38
views
v1 Token request does not work (Marketing Cloud) and pulls a NULL result
I am simply trying to run this v1 Auth request access token in a cloud page but keep getting a Null result. What is wrong with my code below??
var client_id = "XXXXXXXXXXXXXXXXXXXXXXXXXXX";
...
0
votes
1
answer
122
views
How to redirect to cloud page and then the same link which has been used in email
We want to use all links to be directed to cloudpage(cloudpage is doing some action), then immediately to the same link(not a specific link) which has been used across email. How would it possible? ...
1
vote
1
answer
71
views
Trying to Parse the JSON file from API call (HTTPGet) but ParseJSON function in SSJS doesnt work
I want to get attribute sets for an attribute group. So before I used an API call just for the attribute groups. And it worked. For this I make the API GET call and it is successful but I can not ...
0
votes
1
answer
66
views
Sending follow up email after immediate open/click in Journey Builder
We want to send an email follow up for openers/click any links in journey builder without any wait time for engagement split . How would it be possible? The first email will be sent immediately which ...
0
votes
0
answers
68
views
SalesForce Marketing cloud: Client authentication failed via fuel-sdk-php
I am using fuel-sdk-php for Marketing cloud integration. Config.php file is correctly setup and I can see it's values in the code, during debugging. But for some reason, it's states the following ...
0
votes
1
answer
60
views
Is possible load a custom activity on journey with another webservice and not heroku?
I've created an app and uploaded it on Heroku and works great but I need to upload it on Cloudfront but when I do it I'm getting this error bellow.
Inspecting the browser I can see that journey is ...
0
votes
0
answers
92
views
SFMC Send SMS in Mobile Connect via API
I am interested in sending myself an SMS through SSJS code in SFMC. My current cloudpage code does not seem to be doing anything. When I click on the cloud page URL, I just get a blank page. No errors ...
3
votes
1
answer
70
views
automation/v1/filetransfers - patch endpoint not working
For a specific usecase, I need to do dynamic csv exports from SFMC to an external serveur (s3).
the dataextract works well. I can browse a list of DE, modify 1 temporary dataextract activity (by ...
0
votes
1
answer
27
views
Marketing Cloud Literal Content API Search
I am trying to use the Marketing Cloud Rest API to search content for a literal string. For example “make my day”. When I submit my request using Postman I receive a response that has content that ...
0
votes
1
answer
58
views
Disable automatic update of Email Opt Out SF field while using LogUnsubEvent Execute Call in MC
We are using the LogUnsubEvent execute SOAP API call in order to opt-out subscribers from emails in MC. We notice this call automatically updates in SF the Email Opt Out standard field to TRUE once ...
4
votes
0
answers
53
views
Child Business Unit has No Access to All Subscribers in Triggered Send
I am attempting to create Triggered Sends in a Child Business Unit.
I can do so via SOAP Api just fine. The triggered send is created and configured to use the All Subscribers list.
I cannot do so via ...
0
votes
0
answers
20
views
Getting records older than the start date for "list subscribers" using FuelSDK
I am syncing 'list subscribers' using FuelSDK by FuelSDK.ET_List_Subscriber.
Data date: '2021-08-08T03:10:00Z'
Filter properties:
{
'Property': 'ModifiedDate',
'SimpleOperator': 'between',
...
1
vote
0
answers
93
views
SFMC: API right for transitions in a workflowitems
I would like to change the status from "Draft" to "Approved" in an approval workflow for emails.
I tried to used this api call - POST /hub/v1/workflowitems/{workflowItemid}/...
1
vote
1
answer
31
views
How to obtain List properties via REST API? [closed]
For example, if I have a List ID of 53, can I use that to obtain the properties of the List via REST API? Properties would include name, number of subscribers, external key, created date, etc.
0
votes
1
answer
122
views
Marketing Cloud SOAP API Retrieval of All Subscriber List returns a List that does not exist
I am retrieving the All Subscribers list via SOAP calls then using the Customer Key returned to then create a Triggered Send definition.
For one particular customer, the All Subscribers list Object ...
0
votes
1
answer
64
views
Not getting "ModifiedDate" for ListSend Endpoint
I am using ET_ListSend.
But when I am fetching records I am not getting ModifedDate for the sends, but it is given in the documentation here
Is anyone facing the same issue?
Is there any way to get ...
1
vote
1
answer
116
views
Pass value from Ampscript to SSJS Sleep function
I have ampscript value which defines how many milliseconds the function should delay the process but can I pass that 'ms' value from ampscript to sleep(?). Below is my script
%%[
var @ms
set @ms="...