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.

0
votes
0answers
3 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
8 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
6 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
18 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
18 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
10 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
12 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,...
0
votes
1answer
31 views

Soap api create request

I'm trying to create an entry using SOAP API create request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="...
0
votes
1answer
24 views

Redirect URI for authentication

We are integrating our Salesforce with one of the third party application and they are asking us to provide our Redirect uri (where they will send the token once authenticated). Im not sure what needs ...
1
vote
1answer
25 views

SFMC Soap api request and subscriber filtering

I have some issues while trying to filter my subscribers dataset. First of all, the response properties don't correspond to the request properties: ... <RetrieveRequest> <...
0
votes
0answers
10 views

Receive new email and auto import it to Pardot as Prospect?

Is there a way to get an Email to an address such as "sales@company.com" and that It's immediately pushed as a prospect to pardot? appending the body to a "email-body" field or something similar? I'...
0
votes
0answers
20 views

Automate Integration with google AdWords [closed]

How can we integrate Google AdWords with Salesforce using API?
0
votes
0answers
15 views

Create standard price book programmatically

I’ve created a scratch org, but it’s empty without a price book. I’d like to create it with script/code/CLI so it can be automated. Unless the price book is in place I can’t really add products w ...
0
votes
0answers
24 views

User key and Api key

I am going through Pardot Api Official Documentation Version 3 and saw that the api requires api_key and user_key. I have found Api User Key but didn't find any of them separately. Any ideas where I ...
0
votes
0answers
27 views

HTTP Method 'GET' not allowed. Allowed are POST… Data sending from external website to salesforce

I am trying to insert data from external website but I am getting 405 error. javascript code jQuery(document).ready(function(){ alert('Hello'); var arr = [{ 'Name': 'Moscow' }]; jQuery.ajax({ ...
0
votes
1answer
14 views

How to dynamically change mkdir dirrectory names in build.xml file [closed]

Consider below example build.xml file. How do i dynamically set mkdir dir="directory" name (bolded part in the example build.xml content). Example it should change name everytime it runs and not ...
0
votes
1answer
26 views

Can we use Named Credentials with this Weird API?

In order to do something, we need to make call outs to an external server where the URL takes the format: http://www.example.com/path/{external_id}/doSomething?api-key={api-key} The external-id ...
0
votes
0answers
20 views

Download reports via Salesforce API

I want to get the reports from salesforce API. I can get the filename from it's analytics API, but i am not able to download the file from the response stream as is mentioned on page #52 of this pdf ...
0
votes
0answers
26 views

How To Track API Calls Into Org?

I want to monitor within SFDC any api calls that are made at the call level to my org from external applications. I'd like to know which app is making them and what data they're GET/POSTing. Is this ...
0
votes
0answers
9 views

How to get pardot's prospects back up into salesforce's custom object using pardot api

I have requirement where I need to backup all the pardot propects from pardot to salesforce's custom object. Is there easy way to do it ?
0
votes
2answers
25 views

Apex test class method issue

Here I have @Auraenabled apex class I'm trying to write a test class but it's throwing an error like below Static method cannot be referenced from a non-static context: List<AuraSampleController....
0
votes
2answers
57 views

SSJS functions not working for Data Extension objects

I'm trying to retrieve the CustomObjectID of a data extension that already exists, by using the External Key/CustomerKey. That didn't work, so now I'm trying to retrieve any DEs at all, and that's not ...
1
vote
0answers
40 views

Queries for developing and listing a Marketing cloud App on Appexchange

I'm developing a marketing cloud application which is to be listed to Appexchange. What I'm able to achieve is that I get the JWT token and able to make authenticated API calls to the Marketing org. ...
0
votes
1answer
22 views

Salesforce SOAP API doesnt have setRecordTypeId method when using enterprise WSDL

I am using SOAP API to post leads in salesforce i want leads to be of specific record type but im not getting any option to set the record type of lead.Please Find code below. ...
0
votes
0answers
14 views

Composite Resource to Insert ContentVersion giving Unusual Response

I am using below code to insert File using Composite Resource: saveFile: function(component, fileName, base64, recordId ) { var path = '/services/data/v43.0'; var conn = new jsforce....
0
votes
0answers
31 views

SSJS Query Update Error - Exception occurred during [UpdateQueryDefinition]

I am trying to update a Query Definition using the SSJS API method. This is simple script but when i run it, I'm getting this error: Exception occurred during [UpdateQueryDefinition] ErrorID: ...
0
votes
0answers
12 views

Quip Websockets: In-Document Events for social mentions and file uploads not firing. Is this intentional or a bug?

I'm listening for quip events via a websocket. A number of events are pushed but at least two important ones are not: social mentions and file uploads (When IN a document...works fine for document ...
0
votes
0answers
8 views

Quip API api function edit_document with AFTER_SECTION flag

I believe there might be a bug in the API implementation of threads/edit-document and I was curious if anybody else had run into this or can see what I'm doing wrong. (https://nscom.quip.com/dev/...
0
votes
2answers
23 views

Developer costs associated with custom development for single account?

I'm new to Salesforce development but am an experienced programmer, and am trying to scope out potential costs for building an app. I'm seeing a lot of things I don't understand when researching ...
0
votes
0answers
32 views

Using Google translate APIs in Lightning components

How can we translate all the contents in a lightning component to the User's native language (not just by using labels) ? Is it possible by using google translate APIs if we can get the current user'...
0
votes
0answers
11 views

Quip Automation API - Unable to upload the image to the thread

I'm unable to upload the image using quip automation API , getting this error - System.HttpResponse[Status=Internal Server Error, StatusCode=500] below the code snippet - Document doc = new ...
0
votes
1answer
16 views

Using personal number to send sms twilio,Salesforce

I have gone through various blogs and Twilio documentation,to use our personal number to send sms.They have mentioned ,the verified numbers can only be used to make calls.Is there any way(...
2
votes
2answers
29 views

Why would I be getting redirected on an authentication request (Rails app)?

tl;dr - I'm confused about a) why I can't access the our new Sandbox form the API and b) why rather than getting an authorisation error I'm getting redirected. We've just set up a new SF sandbox, and ...
0
votes
0answers
43 views

Insert multiple record in one order ID in data extension using Rest API

Just need help to insert the records in Data extension through Rest API. I just want to insert my multiple records in Data extension using one order ID with Multiple products. So when i used Postman ...
0
votes
1answer
53 views

How Can I mass delete Account Records with a specific Record Type in Salesforce using Workbench?

I tried to delete Account Records using workbench and it gives me this error: Failed: InvalidBatch : Referenced file "request.txt" is missing or is a directory I am not able to understand how to ...
0
votes
0answers
46 views

Is there a way to apply conditional formatting to sheets created via Automation API?

I have a use case that could be accomplished if one of the following features were added to Quip’s spreadsheets: Support for adding conditional formatting from the automation API. A function that ...
0
votes
1answer
30 views

Connect to SFMC accounts via REST API with Username and Password - Not Key

I work at a software company that pushes emails from our app into SFMC. We were using the old SOAP API to connect to client accounts previously, but this is being deprecated and we need to push to ...
0
votes
2answers
53 views

Clear platform event limits?

Where can I find clear docs on the API limits for sending platform events IN to sfdc? The platform events basics trailhead notes that: provides allocations for how many events you can define in ...
0
votes
1answer
26 views

Sending Triggered email from Email Click

I'm trying to trigger a "Triggered Send" from when a user clicks on a link in an email. At the moment I'm passing users through to a CloudPage, inserting their info into a Triggered Send DE and then ...
0
votes
1answer
33 views

How to update CreatedDate field using API in Enterprise edition? Always throws an error

Error [2018-07-29 09:31:20] local.DEBUG: SALESFORCE_EXCEPTION:RESPONSE_BODY:[{"message":"Unable to create/update fields: CreatedDate. Please check the security settings of this field and verify that ...
0
votes
0answers
20 views

Move Chatter feed from an object to an other

I am trying to move Chatter Feed from a custom object (Request) I made earlier to the Case object. I have a trigger that create a Case when a request is created. I read that I need to use ConnectAPI ...
2
votes
1answer
38 views

Invocable Class can't run call to API method

I have a process builder executing the following Apex class when the criteria is met. Everything runs nicely until the last line, where the API method is called and a map is passed. public class ...
1
vote
1answer
42 views

Retrieve Org's API Usage and Data Storage Programmatically?

I'm new to Programming and Salesforce. I had to retrieve the API Usage and Data Storage of the org programmatically. Is this even correct? RestRequest req = RestContext.request; String sysov = req....
0
votes
0answers
14 views

Doubt regarding using Pardot API in quip

I want to login in Pardot and call its API to fetch data. While doing so I am getting error "require is not defined" If I am trying to hit url (containing username, password and user_key) directly ...
0
votes
0answers
21 views

REST API Call to OKTA with filter fail

I'm building an integration with OKTA using APEX. One of the actions I need to call is: get all the users which has updated in the past hour. I'm executing the following code and get an error: 400 ...
0
votes
2answers
19 views

Define Object Fields (Custom) Usage and Compare Metadata Between Similar Fields

I am new to coding in Apex, but understand java and other object oriented languages. I am looking to use an API (such as the Tooling and SOAP API's) to compare fields in my Case object in my org. An ...
2
votes
0answers
41 views

Platform Events allow REST API JSON inputs to bypass field Required-ness?

We are finding that when feeding data to a SF Platform Event via the REST API (/services/data/v43.0/sobjects/My_Pletform_Event__e), Required field inputs can bypass endpoint validation by supplying an ...
1
vote
1answer
37 views

BULK API V43 Pass Date/Time Value

I am trying to make a PUT call via fiddler passing in Content-Type: text/csv. I am able to pass in all fields, however it fails on one of the fields that requires a date/time value. I am passing in ...
3
votes
2answers
44 views

Query managed package components (including dependencies) from releasing org

In an org that releases a managed package, the package detail page lists the components in the package (recently added components, previously released components, indirectly added components). Is it ...