New answers tagged api
0
votes
Accepted
Data insertion failed with salesforce inspector
Thank you for your answer, in fact it was the wrong object's ID ! So I took the 'history' object ID and it's fine now.
0
votes
Accepted
Creating a custom rest API in marketing cloud
What did you try? Where are you stuck?
As you are writing, there are multiple resources online which both explain the basics of Cloud Page Code Resources, as well as showcase how to implement custom ...
0
votes
Create service in SF for non-SF resources to call
Salesforce already provides a SOAP-based Replication API as well as the REST-based sObject Get Updated and sObject Get Deleted. This is probably the best option for near real-time updates, as it even ...
0
votes
API call to confirm email was sent from Pardot/Account Engagement
The endpoint should be
https://pi.demo.pardot.com/api/prospect/version/4/do/query?format=json&[email protected]
HTTP Method is GET
Headers: Authorization : Bearer , Pardot-Business-...
0
votes
How to update subscriber status of a subscriber in all subscribers present in a child BU using landing page present in other child BU?
This should work:
<script type="javascript" runat="server">
Platform.Load("core",1);
var prox = new Script.Util.WSProxy();
var accountId: YOURMID
prox....
0
votes
Accepted
Inbound and Outbound calls question
If neither External System 1 or External System 2 are Salesforce, this is possible, assuming all the rules for callouts are followed (no callout after DML, 6MB max callout size, 120 second max timeout,...
4
votes
Data insertion failed with salesforce inspector
This error means that your user does not have access to the record type you have specified. With Id 0121t0000001qxAAAQ.
You can either grant access to this in the user's Profile or via a Permission ...
1
vote
How to Contact delete (All contacts) in Child BU
Contact Deletion would need to be performed in the Parent BU context.
You can manually delete contacts from Contact Builder in the Parent BU.
To run it in an Automation, you would need to rely on MC ...
0
votes
Access Restricted for API Only Users
I couldn't logout and tried Mary's method, but it didn't work.
So I went to Setup | Management and found my API user and deleted the session. That did work for me.
0
votes
Is there any way of retrieving all records from a data extension via REST API for Marketing Cloud?
Data extension record retrieval via REST is now supported as part of 2024 spring release! https://help.salesforce.com/s/articleView?id=sf.mc_rn_2024_spring_as_rest_api_endpoints.htm&type=5
Rest ...
0
votes
How to load (image) file using REST API using Acces Token in authorization Bearer?
I found the solution to query image data through the REST API, using GET:
https://my-sandbox.sandbox.file.force.com/services/data/v{api_version}.0/sobjects/ContentVersion/{content_version_id}/...
0
votes
How to get Automation connected to a Journey API response?
It might be helpful for you to get your journeyid with this. It will return a list of all your journeys including id.
Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
GET /interaction/v1/...
2
votes
Accepted
Workaround for Offset limitation
During pagination i try to do order by on 2 fields lets says first 1 will be created date, systemmodstamp or any other field you want to order by but second field I use is record id field.
So my first ...
0
votes
Accepted
Calling an External API using AMPscript in SMS Asset. Unable to reference Columns from Data Extension in Payload
[UPDATE]
I was able to get this working, here is the breakdown of each step and how i got it to work:
Code:
%%[
Var @callStatus, @response, @payload, @headerName, @headerValue, @rows, @priceRow, @...
0
votes
API Limit Issue
I have also been fighting with this issue before, multiple times actually. There is a way, how to investigate with Event Logs.
Salesforce offers a built-in summary of API calls through its Event ...
Top 50 recent answers are included
Related Tags
api × 2504marketing-cloud × 552
apex × 456
rest-api × 384
soap-api × 196
rest × 156
integration × 149
soap × 104
php × 74
soql × 72
ampscript × 69
json × 66
visualforce × 64
oauth2 × 64
ssjs × 63
callout × 58
c# × 58
webservices × 49
trigger × 48
metadata-api × 48
lightning-web-components × 47
email × 46
metadata × 44
javascript × 42
journeybuilder × 42