2
votes
Accepted
Comparing timestamps in SSJS
The general comparison logic is correct, I would assume the problem hides in something else.
Suggestions to troubleshoot:
Make sure "tokens_DE" Data Extension has fields "startDate&...
2
votes
Accepted
Attempting to upload file to AWS S3 but file is corrupt
First, I took a look at the file in a Text editor, and it started off with PK. So far, so good. I then took a look at the file through a hex editor, and saw it started with 50 4b 03 04, which are the &...
2
votes
Accepted
Apex Callout Issue - System.HttpResponse [Status=Moved Permanently, StatusCode=301]
This happens because Postman automatically redirects requests that return a 3xx response.
Disable the automatic redirection for 3xx responses. To do this, open the Settings tab of your request and ...
2
votes
Accepted
What is the limit for retrieving files via standard APIs?
I can't find any limits for the REST API but I would assume you can download the full 2GB max file size. Salesforce is a professional service and your requirement doesn't seem unusual. The ...
1
vote
Accepted
Performing a query via REST-API - Solve encoding problems
Guzzle uses http_build_query, which in turn automatically encodes characters for you using PHP_QUERY_RFC1738 by default. In other words, your literal + are being encoded, and on the far end, when ...
1
vote
Send data to external system on bulk update
Multiple options:
Batch class callout
You can use
Database.GetUpdatedResult r = Database.getUpdated(
'Object API Name',
StartDateTime,
EndDateTime
);
and send the records to the external ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rest-api × 3209apex × 724
marketing-cloud × 514
api × 346
rest × 244
soap-api × 207
apexrest × 205
integration × 196
oauth2 × 149
soql × 130
json × 130
callout × 123
webservices × 107
connected-apps × 76
visualforce × 72
journeybuilder × 72
tooling-api × 66
authentication × 61
httprequest × 61
community × 54
bulk-api × 53
javascript × 51
dataextensions × 47
rest-service × 47
unit-test × 46