2
votes
{"message":"This session is not valid for use with the REST API","errorCode":"INVALID_SESSION_ID"}]
I beleive this RestApiIntegrationController is getting called from UI, LWC or Aura.
So when you do a UserInfo.getSessionID(), it will fetch session Id of lightning domain. Which wont work for calling ...
2
votes
Why does Salesforce standard API sends records in batches, even though no batch size specified?
There are two modes of operation in Salesforce: synchronous and asynchronous. A synchronous request needs to be responsive as possible so that all subscribers have fair access to the service they are ...
1
vote
Accepted
How can I get the delivery details of a email sended by /interaction/v1/events
The "key" using here is the triggered send external key in the triggered send definition/ the Event Definition Key in the transactional journey.
After you determined the correct key, you can ...
1
vote
Composite sObject Collection call not reaching limit
Your second request works because it has only a single subrequest (in which you create 6 Contact records) rather than 6 subrequests.
The following would fail (or at least it should) because it ...
1
vote
Export view details from Journey Builder
In your current SQL, you are searching for subscribers in the journey that received an email. However, on the screenshot, you have Update Contact Activity, which is not anyhow related to the email ...
1
vote
SFMC Device ID(s) by Contact Key - REST API
You can do that with the /contacts/v1/attributes/search endpoint. Example payload:
{
"request": {
"attributes": [
{
"key": "...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rest-api × 3465apex × 798
marketing-cloud × 552
api × 381
rest × 257
apexrest × 218
soap-api × 215
integration × 211
oauth2 × 162
callout × 141
soql × 140
json × 139
webservices × 108
connected-apps × 82
journeybuilder × 78
visualforce × 76
tooling-api × 70
authentication × 65
httprequest × 65
community × 57
javascript × 56
bulk-api × 55
metadata-api × 54
dataextensions × 53
rest-service × 50