Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [api]

An application programming interface (API) is a specification intended to be used as an interface by software components to communicate with each other.

0
votes
0answers
12 views

How to retrieve all the custom labels in apex using metadataAPI?

I have deployed MetadataService package in my developer org. I am creating an UI where I want to show all the metadata from the org, metadata like Custom Field, Custom label, Email Template etc. On ...
0
votes
1answer
10 views

Updating the All Subscriber List when submitting through a Custom Subscription Center

I need help figuring out the process of updating the All Subscriber/publications list when a subscriber changes their subscription status through a custom subscription center that I'm hosting on a ...
0
votes
0answers
6 views

Custom field to update Embeddable RingCentral for Salesforce Widget userPresence

We are making the switch to Salesforce (from GoldMine) and we are working to implement a system that will automatically route phone calls to the appropriate trip adviser based on their destination ...
-8
votes
0answers
31 views

SFMC JSON Post Unsubscribe Check

I'm trying to setup a webhook in a 3rd party to check subscriber status from the all sub list. Does anybody have any experience doing this? Need to send as JSON-encoded post. Thanks!
1
vote
1answer
34 views

Marketing Cloud SOAP API Get Subscriber Specific Email Metrics

I'm currently working with the Marketing Cloud SOAP API to retrieve email metrics sent from the Journey Builder. I am able to do this, but it appears that the metrics I receive are related to the sum ...
0
votes
1answer
16 views

How to save a CSV from Google Cloud storage into Salesforce Record

Im trying to download a CSV file from google cloud storage and use that same file to be uploaded to the salesforce bulk api, or can it be done in one go - Meaning can I take the CSV file with out ...
-4
votes
0answers
19 views

Rest API - Marketing Cloud - How to get a complete information of a Trigger? [on hold]

I need to get complete information of a particular trigger using rest api. I tried this, but get only minimal information. GET: https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends/key:...
0
votes
1answer
27 views

FuelSDK-Python: Performing an EmailSendDefinition with a specific Data Extension

There is an old old thread about this and Salesforce hasn't being nice enough to extend their Python SDK (though the PHP and C# ones are way ahead). I can create the data extension but I'm not able ...
0
votes
1answer
22 views

What is the definition of a Salesforce API call?

Want counts as a API call in salesforce? Is it an outbound call or both inbound and outbound calls? Also With Salesforce Connect it is allowed to map Salesforce with external Objects. Having ...
0
votes
2answers
33 views

API - Upsert Row Set returns 1004 error

API request to insert strings in DE returns 10004 error. As I understand it is related to incorrect usage of brackets I tried various combinations but it still does not work: endpoint: https://...
0
votes
0answers
18 views

Salesforce Connect - External Services

How do I define (or create) an external service that has to obtain a token first, using global access on an internal server to obtain the OAuth token? If the OAuth server is https://myOAuthServer.org/...
-1
votes
0answers
15 views

downloading dataset for training :Invalid response [504] [on hold]

I've uploaded my dataset successfully, however when I trained my model and trying to use the GET command to get the status of my model it provides me with the following error message: downloading ...
1
vote
1answer
27 views

Hyperlink in the case's comment

I am using the following Salesforce API to generate a case comment. POST /services/data/v39.0/sobjects/CaseComment HTTP/1.1 Host: *******.my.salesforce.com Content-Type: application/json cache-...
0
votes
1answer
41 views

Consuming a REST api in Salesforce

I need to create an integration between Salesforce and a third party service. Essentially Salesforce will trigger a callout to the third party when a status change occurs on a custom object record. ...
2
votes
1answer
37 views

Accessing /systemTopic/ streaming channel

I'm using the Salesforce generic streaming demo to try to listen to systemTopic channels, but not able to get it to work. Tried accessing /systemTopic/TestResult and /systemTopic/Logging but could ...
1
vote
2answers
30 views

Is it fine to get '204 No Content' in PATCH method

I am making a PATCH request to update a contact in Salesforce via API. The resource seems to be updated fine, but it returns me '204 No Content' in POSTMAN. To my knowledge, it just means that there ...
0
votes
0answers
10 views

Fuel PHP SDK Retrieve FilterDefinition Error: Partner Properties are not allowed in this context

I am trying to retrieve FilterDefinitions from our account. The Fuel SDK doesn't have this object by default, so I created my own class that looks like this: // spl_autoload_register( function($...
3
votes
1answer
39 views

Limit API request at a user level

I wondering if it's possible to control the 24hr API request limit at the user level. For example, if I have a 100k 24hr limit, I may want to prevent a specific integration user from consuming more ...
1
vote
1answer
52 views

LWC - How does @api Contact work?

Getting my feet wet in Lightning Web Components, and I'm trying to follow the developer guide, but I'm completely drawing a blank on how contact data is populated with @api contact; I deployed the ...
1
vote
1answer
80 views

Fill a DE thanks to SSJS in Script Activity using an external API

What I'm trying to do, is to fill a Data Extension using SSJS on weather column. (For the test I'm using nodeJS) Data Extension : "Weather API" weather | city name | country code (empty)...
1
vote
1answer
41 views

Using Named Credentials With 3rd Party Authorization Token [duplicate]

Trying to use point and click External Services but unsuccessful with Named Credential authorization. A 3rd party service just requires the Authorization Token be sent with request. Not ...
0
votes
2answers
19 views

Why does User lookup point to a random (disabled) user in the org when not specified?

We have a custom object MyCustomObject__c, which contains a lookup to the user reference. When we update this object by API, we might not set the value User__c, but Salesforce seems to be defaulting ...
1
vote
1answer
68 views

596 Service Not found when getting auth token from Marketing Cloud API

I have created a MC application (Component Type: API Application) so I can insert Subscribers into a Journey using API event. Here is the scope So I am stuck at the first hurdle, which is trying to ...
0
votes
1answer
45 views

Sales Cloud to Marketing Cloud - immediate updates on All Subscribers list

Currently we use Automation Studio to update subscriber data on All Subscribers list. This happens every night, but if needed I could set it to run 4x every hour as this is the interval at which my ...
0
votes
1answer
19 views

How to perform a load test on a triggered send

I'm looking to perform a load test on a triggered send by pushing ~160k records through the trigger. For the test, we are planning on taking a block of live records and replacing the email address ...
0
votes
2answers
51 views

Creating Data Extension with other type than standard

On Marketing Cloud Data Extensions in Email -> Subscribers -> Data Extensions have type. Is there possibility to create Data Extension by API with other type than Standard (Filtered, Random)? In Data ...
0
votes
0answers
32 views

sforce is not defined in UAT, but in sandbox yes

I'm having this problem, and I've tried all the solutions that can be found in this world to resolve; I'm working with the opencti APIs, in an aura component, in the sandbox the component runs fine (...
0
votes
0answers
23 views

Submitting Web-to-Lead via POST returning 401: Unauthorized?

I need to capture data locally as well as submit that data to Salesforce. I am trying to POST data to https://[example].secure.force.com/HC4__WebFormProcessor , however I am getting a response of 401: ...
1
vote
2answers
36 views

Populating Big Objects from CSV

I need to create a client application where users can upload CSV files, which will then be used to populate Custom Big Objects. My problem is I'm not sure which API to use. The Salesforce ...
1
vote
1answer
26 views

Creating Attribute Group and Attribute Set by API

Is it possible to create Attribute Group and Attribute Set in Marketing Cloud by API? I don't see endpoints in documentation for doing that. Thanks for help.
1
vote
1answer
28 views

Calling salesforce API using java application returns 301

I tested the following code and is working perfectly on sandbox and returning the following: HTTP/1.1 200 OK Successful login instance URL: https://XXXX.salesforce.com access token/session ID: ...
1
vote
1answer
37 views

Checking user's role by API

I have created a Marketing Cloud page with a form, which is supposed to be filled out by users with appropriate permissions. What API call should I use to enable such a function on the website that ...
0
votes
2answers
68 views

Help With Access Token for Server-to-Server Integrations Using SSJS

I am using the script below <script runat="server"> Platform.Load("core","1.1.1"); var client_id = Variable.GetValue("@ci"); var client_secret = Variable.GetValue("@...
2
votes
1answer
47 views

SSJS Error retrieving the automation activities of an automation

I'm trying to use SSJS to retrieve the automation activities of an automation, using this code: var api = new Script.Util.WSProxy(); var cols = ['Name', 'CustomerKey', 'AutomationTasks']; var ...
2
votes
1answer
54 views

Enterprise Patterns for Consuming non-trivial REST services in Apex [closed]

Communication from Apex with huge REST Apis feels cumbersome to me as there is so much repetitive work involved with building Apex Objects that function as callout request params or responses. This ...
0
votes
1answer
43 views

Real-time API calls between 8AM and 8PM only

Does anyone know if SFMC supports delayed sends for real-time API communications? Basically I want to know if SFMC can only send emails between 8AM and 8PM and any calls made outside this time frame ...
0
votes
0answers
21 views

Mirror a case's Chatter feed to another object (ConnectAPI vs sObject)

I've got a requirement to mirror a Case's Chatter feed into another object (for safe-keeping, as it were). My first idea was to try a trigger on the FeedItem object, catch it and clone it, and just ...
2
votes
1answer
43 views

Populate Owner in REST API Using external Id

I'm upserting a custom object via the REST api. How can I use the REST api to populate the record owner using an external id? See details below: Endpoint: /services/data/v42.0/sobjects/...
0
votes
0answers
12 views

Leads and APi Integrations with Web Page Error for Site Owner. Invalid domain for site key

I asked the web developer for a company to send me updated API key Pair Nickname, Site Key and Secret code to generate reCaptcha codes. Upon testing from the HTML form, I cannot submit because I get ...
2
votes
1answer
28 views

How to Assign Multiple Topics to a Knowledge Article Via API or Apex

What I'm Trying to Accomplish We are trying to import all of our self help documentation (held on another website) into our SalesForce knowledge base. Our self help "articles" are grouped by related ...
0
votes
1answer
30 views

SFMC API call to 3rd party when unsubscribing

We're using a 3rd party for a refer a friend service that also has a subscriber status. We'd like to link a user's unsubscribe to the 3rd party service when a user unsubscribes through the profile ...
1
vote
0answers
19 views

Specify a clientId during a REST api call in Salesforce

I am trying to make a REST api call from my node.js script to invoke a REST API in my Salesforce Org using OAuth.I wanted to track the Client from which the call was being made using the standard API ...
1
vote
0answers
32 views

How to insert data into lookup relationship object and show all child object data into parent object related to that parent Id [closed]

I am trying to write an api to insert data into the lookup relationship objects and retrieve all child data into parent object for that parent id. (suppose i am inserting 3 child object records for ...
0
votes
1answer
52 views

Restrict API permissions for package

I'm creating a package that allows Salesforce API access via a connected app. It works great in my demo org, but our customer does not want it to have access to any data other than contacts and a new ...
3
votes
1answer
41 views

How many users can fit in one call with new Transactional Messaging API?

With the new transactional messaging API I can send out an email to multiple users with this call: POST /messaging/v1/email/messages/ https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-...
1
vote
1answer
43 views

SFMC outbound API calls

Can SFMC make outbound API calls to an external web service? I'm trying to find a solution on the web but it doesn't seem to be anything related to this out there.
1
vote
1answer
22 views

Can you know use Individuals in Journey Builder with API Update

A general question, the latest release of SFMC has updated the API that journey builder uses with Salesforce. As such, you should now in theory be able to inject an "Individual" into a Journey just ...
0
votes
0answers
24 views

How to get current Sandbox name via API [duplicate]

Assume a client app that allows OAUTH login (client flow), such that upon login I can access REST, Tooling, Metadata APIs (etc.) I can get simple org info (id, urls) via an identity call, and I can ...
1
vote
1answer
40 views

SFDX Can query Package Installation Status, can we?

With SFDX we can run the install:report command to check the status of a package installation. Is it possible to do the same via any API exposed by salesforce? So my question: Where is there any ...
0
votes
1answer
55 views

Updating Accounts shows: duplicate value found: <unknown> duplicates value on record with id: <unknown>

I am Trying to update one Field in Account using postman but it's not letting me update it. I also Turned off history tracking for an Account. I have given full access to my app in Salesforce.  eg  ...