Stack Exchange Network

Stack Exchange network consists of 174 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

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

1
vote
1answer
17 views

How to get our Salesforce org ready for APIs?

I need some guidance to understand how a certain API will work and the process of making it so. We have a third party online e-learning app (called bksb) where learners do assessments and we manually ...
-3
votes
0answers
23 views

Please help me how to write rest api code for image field integration [on hold]

I have a website form in this form there is an image field and I want to submit image in Salesforce Document object.
0
votes
0answers
12 views

Getting territory2rule metadata

I'm having trouble getting the territory2rule metadata, I created a new rule in manage account assignment rule under the territory. I tried using mavensmate and eclipse no metadata was found, ...
2
votes
1answer
16 views

Composite Api Objects and Referencing RecordTypes

Is there anyway to reference an account recordtype by Name when creating an account using Composite API which has recordtypes? I am hoping there is a way so I don't need to do a get request to get a ...
0
votes
0answers
23 views

How to expose certain salesforce data (person accounts) to a third party app with their API? [on hold]

I'm relatively new to dev, and we are using a third party app which needs to access Person Account data from Salesforce. They have an API ready for our org, I just need to expose the data. How would ...
0
votes
0answers
8 views

Content Builder REST API - Retrieve Email and approvals

Does anyone know how to retrieve email and its approval status? I checked on marketing cloud documentation but couldn't find the property to do so. I am trying to retrieve and filter for email that ...
0
votes
0answers
31 views

Upload File to Specific Account via REST API

I've found how I can upload a file to the Files section within Salesforce (by way of the /connect/files/users/userId route); however, I can't upload directly to an Account's File section. Here's ...
1
vote
4answers
68 views

How to update a record in a trigger with value from a REST API?

When an account is saved I need to update it with value from a REST API. I though my approach would work but I'm getting the following compilation errors. Method does not exist or incorrect signature:...
0
votes
1answer
10 views

Error updating custom metadata types through Talend

I am trying to update a custom metadata type record through the standard Salesforce connectors in Talend. But I receive an error that says "unable to update entity type". Are we able to update these ...
2
votes
0answers
23 views

Automatic field reversal on API actions

I've got a Python app that's using the simple-salesforce Salesforce API client. One operation that it performs is automatic re-assignment of contact owners based on the owner of the respective account,...
1
vote
0answers
36 views
+50

Generating email in Marketing cloud but sending it out to another system, not the recipient

We are using Salesforce and Marketing cloud to process data, create a campaign, populate a template and send emails. Pretty much as you'd expect. Separately, we have an internal system that is ...
1
vote
1answer
13 views

How to Display Report Table in a Third Party Web App

New to salesforce, here! I would like to display a Report from SalesForce in a third party app. It is effectively just a datatable. I've been reading various documents in the developer site but I ...
-2
votes
1answer
18 views

Informatica data update. Must have Id mapped

So we pull data from SAP quotes/sales and push it into a custom object in SFDC. How we reference the records in SFDC to the ones in SAP is via the SAP sales doc #. In fact when you view this is ...
1
vote
1answer
41 views

How to update the FLS using Salesforce Metadata API in a bulk update?

I have a set of fields in the array list which I wanted to give FLS with Read access. I'm using below piece of code to update the field level security using Salesforce API in java language. But the ...
0
votes
3answers
23 views

Creating an endpoint in salesforce for our external service to access data

I started reading on REST API’s and have created this class to view order tracking information: @RestResource(urlMapping=‘/Tracking/*') global without sharing class TrackingRest_Service { @...
0
votes
1answer
25 views

Test class for method with API call and return type String

How do we write test method for Apex class used by Lightning component where my return type of method is String but within the method I call rest api Here is my class method: public static String ...
0
votes
2answers
41 views

Financial Force REST API for Journals

I'm trying to use the REST API for Journal creation in Financial Force. The path is services/apexrest/c2g/v1.0/journals/* I was able to login, and perform the call but I am receiving an error ...
0
votes
0answers
29 views

Using Google Oauth with Salesforce API Call

Is there an `easy' way to use Google Authentication when making a Google API call from Salesforce in APEX or Flows? I'm trying to trigger some G. App Script but, and I already tried to do it in the ...
0
votes
1answer
29 views

REST API apex - send and receive within a same class

I'm wondering, Is there an option to receive data with @HTTPGET --> Make some manipulation on this data --> Create new REST request and send it to different URL - On the same Class? Thanks
0
votes
0answers
22 views

How would an APEX class to login to an external API work?

I am looking to : a. login to an external provider b. acquire a token c. Store that token in the SF session to use for all API calls to this external API. Any idea where I can find resources for ...
0
votes
0answers
26 views

Email Send used Data Extension via API

In a SSJS I need to know which Data Extension were used for a Send. In the Email Send Tracking UI of Email Studio, this information is present. But where I can get this information from via API. I'm ...
-1
votes
0answers
26 views

Storing a variable and recognizing the intent via user input

In Einstein bot, when you create a question where you can store a variable... you will wait for a user input. In the next action tab, the wait for user input is selected, this means that when you ...
4
votes
2answers
71 views

Symbol table for Lightning components to find Dependencies/References

Like we do have SymbolTable for apex class, to find their references/dependencies; do we have anything for the Lightning Components(to find dependencies/references of lightning components/application/...
0
votes
0answers
11 views

Know how much retrieve(Ant/Eclipse/Workbench) request is made to the salesforce org

I was curious to know, is there any way to know the number of retrieves through either Ant/Eclipse/Workbench etc. Like we can track deployment requests, Can we pull out a report, which will helps us ...
1
vote
1answer
22 views

Salesforce API - Detecting a field rename

I am working on dumping the Salesforce custom object to a database. I wanted to know if there is any way at the API level to determine if the field was renamed. Implementation wise, I get the ...
0
votes
2answers
51 views

Learn Parsing JSON

Im trying to get values from API request.. there`s 2 user data from the response and I want to get the data of each user and put it on the list.. but my code only store the last user data from the ...
0
votes
0answers
12 views

Api Limit - System Overview

I know this question has been asked already and Salesforce also documents it here but I'm not clear as to how is Salesforce calculating the exact number it displays on the system overview page in the ...
0
votes
0answers
10 views

How can I create a relationship SOQL query between ForecastingItem ForecastingQuota with SOAP (PHP)

Is it possible to create a relationship SOQL query between ForecastingItem and ForecastingQuota ? I want to have a SOQL query which to include the QuotaAmount field from ForecastingQuota. For ...
1
vote
1answer
54 views

How to get access to Salesforce from my web site/application just with login and password?

The best example is workbench.developerforce.com. When you first try to login with it Salesforce asks for allowing access fro your application (if you are not logged in into your org, then login + ...
2
votes
1answer
61 views

Setting the batch size via Bulk API

I'm using the Bulk API to make updates to ~50k records. I'm splitting those up into jobs of about 5k apiece, but I was hoping there'd be a way to control the batch size similar to that of using ...
2
votes
1answer
29 views

Is there a difference between the 'Use Any Api Client' and 'API Enabled' permission for Profiles?

I noticed the 'Use Any Api Client' permission only available if 'API Client Whitelisting' is enabled. How can we query this permission on profiles? Once 'API Client Whitelisting' is enabled, does the ...
0
votes
1answer
14 views

Child Relationship Query not working with API

I have Accounts and InteractionsReferences. Trying to query something like this (formatted because I'm using GET query: SELECT+Account.Name+,(SELECT+Interaction_References__r.Id+FROM+...
0
votes
1answer
18 views

Create Template based email via SOAP [closed]

Is there a way we can create a template based email using SOAP API?
0
votes
1answer
34 views

Streaming API to transfer FILES to online cloud storage

Using the SF documentation I have created a custom object with the FILES related list. Using workbench I can successfully see that it receives a message when a new record on that new object is ...
0
votes
1answer
82 views

No longer able to query SelfServiceUser

For the longest time we've had a piece of code which executes a query against hosted saleforce select Id, ContactID, Email, Username, SuperUser from SelfServiceUser where Username = 'test@example....
0
votes
1answer
10 views

API User + Modify All Data Permissions user cannot insert Case via API with SuppliedEmail

I made a Integration user for our python backend, which utilizes a profile with API Only, and Modify All Data checked. However, upon doing this, previous code that worked before is not working with ...
0
votes
0answers
27 views

How to get the particular pagelayout details through Salesforce API - Java

I'm trying to get the particular page layout details using the below code. But unable to fetch the details DescribeLayoutResult = connection.describeLayout(string sObjectType, string layoutName, ID ...
0
votes
2answers
19 views

Is it possible to rename the Event Definition Key for a Journey Builder Entry API

For the requirement of avoiding getting the third party to update the posts address to a new key, and continue using existing names (conveniently short and clear in where it's pointing to)... Has ...
0
votes
1answer
38 views

How to send to multiple subscribers using Triggered send API in the same API call?

How to send to multiple subscribers using Triggered send API in the same API call? I'm trying to send multiple email in the same triggered send API call. I'm getting a bad request error when i ...
0
votes
1answer
16 views

Salesforce Marketing Cloud_monitoring API usage

Is there any approach to monitor API usage in Salesforce Marketing Cloud? Please give my insight and share your knowledge, Best, Colin
0
votes
1answer
22 views

Edit Update Reminder Setup by API

Is this possible to edit values of Checkboxes: Update Reminder Setup: - Enable Update Reminders for My Organization - Automatically Activate Reminders for Users with Direct Reports by some API, ...
0
votes
3answers
28 views

can't find PartnerConnection and Connector Java classes

I'm trying to build a simple java client program using the partner WSDL. I build stubs from the Partner WSDL file. I downloaded the WSC .jar file and added it to my build path. I'm still getting ...
1
vote
1answer
37 views

Deleting records in sales cloud using REST api

I am trying to delete multiple records using REST Api. var contentType = 'application/json; charset=utf-8'; var headerNames = ["Authorization"]; var headerValues = [("Bearer "+sessionId)];...
0
votes
2answers
12 views

How do I use the Java API to update only a single attribute on a record?

I'm using Java 8 and v 33.0 of the SalesForce API. We are trying to update a single field on a record. Basically we are trying to do it like this final CventSession__c ...
0
votes
0answers
10 views

API Only User Access Restrictions

I have an API-only user set up with a custom profile. The custom profile only has access to a couple of objects/fields that are referenced in an Apex class that is available only to be accessed via ...
0
votes
2answers
26 views

Distance calculation API

Below is the code for distance calculation using matrix api. I have declared all the variables as private and called HTTP get method for this. in the log of the code I got an error Method does not ...
0
votes
1answer
22 views

How do we get Knowledge article Rating by SOAP api

In Knowledge Article, we getting all description about knowledge article by using "KnowledgeArticleVersion" but this API is not return rating of the article also likes and viewing the score. If ...
1
vote
0answers
22 views

How to Poll to an external event listener from Salesforce

Hi All i need a recommendation on the approach. We have an backoffice home grown payment processing system. The requirement we got is when a payment got rejected in the processing system a case should ...
0
votes
0answers
27 views

BusinessUnit Object SOAP (API Permission Failed)

I am using the nodejs SOAP SDK (https://github.com/salesforce-marketingcloud/FuelSDK-Node-SOAP) and trying to pull a list of all of the business units in my account. This is my code: var FuelSoap = ...
0
votes
0answers
21 views

Quip Automation API: Incomplete results from Get Folders

I'm writing an application which integrates with Quip via the Automation API. I'm attempting to get all the child thread/folder IDs from a given folder. When I try calling the API on a sample folder,...