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

learn more… | top users | synonyms

1
vote
0answers
23 views

Create emails alerts when an update failed using the API from an external system

We have an external ERP system which is where we have all our Customer data. Every change that we made in the ERP goes straight to Salesforce using the API. So, we don't allow to edit the accounts in ...
0
votes
0answers
22 views

Is the Java SOAP API Depreciated?

It seems that all of the documentation on the salesforce website for a SOAP call is from 4+ years ago, and all of the example code contains Old, and depreciated methods from the wsc library. Is there ...
0
votes
1answer
38 views

Help to writing test class for Rest class POST method

I writen rest class for updating the lead details below. @Restresource(urlmapping='/Lead/*') global class Cls_LeadData { @HttpPost global static void updateLead(String codeid, String ...
0
votes
0answers
6 views

External Identity - Dynamic OAuth Callback URL

When we sell one of our product to a customer, we create a new Web Server dedicated for him. This Web Server will obviously have a unique name (http address). For now, after creating the new Web ...
0
votes
0answers
6 views

API quota of DarkSkyForecast weather Key

Does anyone knows how to get the DarkSkyForecast weather key used Quota & remaining quota? It is not present in response. Thanks in advance!
0
votes
0answers
5 views

Logging Into Pardot From Apex Using OAuth “Log In With Salesforce”

I'd like to write Apex code that pushes data into Pardot via Pardot's HTTP API. When the code spins up, I have to trade Pardot a username, password, and user-key for a session key (known as an "API ...
1
vote
0answers
24 views

salesforce Integration [closed]

I want to learn salesforce Integration with hands on experience with other system using REST and SOAP API. I have gone through the trailhead module but it was of just basic level. From where should I ...
0
votes
0answers
28 views

ExactTarget REST API

I'm trying to obtain a token via the https://auth.exacttargetapis.com/v1/requestToken endpoint. I'm passing in JSON data like this, in Ruby, using the Patron gem. data = {"clientId" => '[filtered]...
4
votes
0answers
42 views

Canvas app sends GET request instead of POST when API whitelisting is enabled

Cross-Post from developer.salesforce.com We use a connected (canvas) app to integrate a third-party web application in salesforce. We use the the 'signed request' authentication model and it works as ...
0
votes
1answer
40 views

Apex way to distinguish whether the change is coming from Metadata API

I am designing to integration structure of our 3rd party system from and to Salesforce. It is about data integration and I am planning to have the Request & Response structure. In the triggers of ...
1
vote
1answer
23 views

Update row in data extension with SOAP API

I'm having trouble updating a row in data extension. Code I use: int businessUnitID; //Unit ID string dataExtensionCustomerKey; //Data Extension Customer Key DataExtensionObject row; //Data Extension ...
1
vote
2answers
23 views

What is use of Apex WSDL used for (Setup->API>Generating the WSDL File)?

When I was downloading Partner WSDL today I realized that there option to download APEX WSDL. When i brush through the code it seems like most of operation this WSDL offer are already there on ...
0
votes
0answers
27 views

Error oauth_problem when trying to Connect to Xero using method POST

Good day everyone, I am trying to connect to Xero using Salesforce Apex. I've found this link Apex for Xero and find it very useful. Everything is working well when I use PUT and GET method. The ...
0
votes
1answer
19 views

API for User Creation in Marketing Cloud

Does there exist an API method to create users in Marketing Cloud? I checked the documentation and couldn't find one. Want to be double sure that I didn't overlook.
2
votes
0answers
16 views

Upserting objects with many to many relationship using api

I am writing a script to run on a schedule to automatically import data from our accounting software into salesforce using their API. I cannot find a good way to upsert objects with many to many ...
0
votes
0answers
18 views

How Would I Imitate “Lookup Via” At DataLoader.io In Code? (Bulk DML, but allows record-matching on non-external-Id fields)

I think this might be an API question, but I'm not sure. My Contact table looks like this: LastName FirstName Email Formula_LowerConcat__c ERPId__c Id Smith John ...
1
vote
0answers
10 views

Marekting cloud API to expose user interface?

I'm looking to build a custom Hub Exchange app that uses some of the user interface objects from the marketing cloud (i.e. filtering data extension data). Is this possible?
0
votes
0answers
17 views

SalesforceIQ API: Updating Custom Field in ListItem

I have a list of sales leads in SalesforceIQ. I'm trying to use the API to update my sales leads from a CSV. I have a custom field, call it XYZ in each of my sales leads. I want to be able to ...
0
votes
1answer
26 views

SOAP Request: Apex Callout error: System.CalloutException: Not in GZIP format

I am sending the following and getting a "Not in GZIP format" error? I think it might be because I am sending Basic Auth when the external web service need just the login credentials you can see in ...
3
votes
2answers
72 views

How to login as another user through SOAP API?

I have been using some Java code to run API calls to do integrated testing on webservices in our SFDC org. So far, I used to log in through the browser and get my admin sessionId, then copy / paste it ...
1
vote
2answers
53 views

What can I do with the API?

I am considering whether to implement Salesforce integration with my own applications using the Salesforce API. Despite investing many hours into reading the documentation I still haven't found out ...
1
vote
1answer
19 views

DescribeAsync Method usage using C# .Net API

I need to get the label name from custom object. I'm using the C# .Net SalesForce API and try to use the DescribeAsync call on my Objects. It seems to be working, but I don't know how to parse the ...
0
votes
1answer
38 views

What concurrency limits exist for the FuelSDK / Marketing Cloud?

Using the Python Fuel SDK, we'd like to maximize our throughput with parallel processing (multithreading or multiprocessing). Are there any hard limits on the number of simultaneous connections ...
0
votes
1answer
26 views

Preview a Trigger Send without publishing

Is there a way to trigger an email using a landing page? The only way to see the changes to an email that is part of a Trigger Send is by publishing the changes. But I would like to use a landing ...
0
votes
0answers
21 views

How to query for a user's email-to-salesforce address

I am trying to write a SOQL query that returns a user's "email to salesforce address" which lives in the EmailServicesAddress sobject. the only way so far I've found to retrieve a record for a given ...
2
votes
0answers
36 views

insufficient access rights on object id [closed]

I'm facing an issue using soap api. I try to delete duplicate rules by using partner WSDL soap. But I got that error when tried to perform delete operation. Error is that : "insufficient access ...
3
votes
1answer
39 views

Get Asset via REST API with only a Account Id

Given a list of Account ID's, I want to get all assets associated with them. So far, I worked out I can get the account by calling : /services/data/v32.0/sobjects/Account/{accountId} Seems simply ...
1
vote
1answer
26 views

How to Import large amount of data to Marketing Cloud

I am trying to build a web service in visual studios required to send large amount of data to Marketing Cloud by using API. Can some one point me to the right direction how can I accomplish that
1
vote
0answers
27 views

Apex Callout - Need help sending AuthenticationHeader. Request Error. Invalid Login

I am trying to send account record information to an external web service. I have created an Apex Class from WSDL. Right now when I pass the request I am not sending authenticationHeader details. In ...
1
vote
2answers
81 views

What Python library is recommended for pulling large amounts of data?

Our company has Gigabytes of email send data (Sends, Sent, Emails, Opens, Subscribers, etc). We would like to maintain a local relational database of all this Send data. Our current attempt uses the ...
0
votes
1answer
31 views

Client Side vs Server side API Requests

I am exploring some REST APIs. Various APIs requests are initiated from a visualforce page and are processed by apex in controller. At some point we are thinking to provide a 'Advanced Options' link ...
1
vote
1answer
34 views

User and profile for REST API only

I am developing integration in Salesforce with external application. This app uses my api by OAuth password flow. For this I have created user and profile, restricted access to all tabs etc. Are there ...
0
votes
2answers
58 views

Apex rest response: cyrillic characters encoding issue

[SOLVED] Fixed in Spring Framework: restTemplate.getMessageConverters() .add(0, new StringHttpMessageConverter(Charset.forName("UTF-8"))); I have cyrillic characters in response. I prefer using ...
0
votes
0answers
20 views

How to return custom response code from apex rest class [duplicate]

I am building api on salesforce. I am curious if there is any way to return 400 error or some other based on my Apex execution?
1
vote
0answers
22 views

Pull ContentDocuments through the API

We are trying to pull all of the ContentDocuments out through the API as an admin user, but we are having issues. Unlike the UI, the APIs do not allow listing all the records in Content, even for ...
1
vote
0answers
10 views

Is it possible to get all groups for a user - from the API?

Is it possible to get all groups for a user - from the API? In the Force.com Deleloper Console, with the query SELECT Id, GroupId, UserOrGroupId FROM GroupMember, I get only one result row I would ...
1
vote
1answer
44 views

Not a developer - How do I approach database project?

I'm a marketing professional with some experience pertaining to databases (some architecture but mainly querying), coding (HTML, CSS, light python dev many years ago), an understanding of how APIs ...
4
votes
0answers
58 views

How exactly does Salesforce calculate the number of API requests for the last 24 hours?

I've read plenty of Salesforce articles about the rolling 24-hour limit on API calls, but the information provided by Salesforce doesn't match up with what I've seen. For several days, I've had a ...
2
votes
1answer
23 views

How to determine in apex if user is connected via salesforce for outlook or on the web?

I have a problem where if i am connected via salesforce for outlook and that i create a task or event, i should be able to detect that the task or event is been created via the connector and not ...
1
vote
0answers
41 views

API Only User Unable to Use SAML Assertion Flow Single Sign-On

I'm having an issue using the SAML Assertion Flow with API Only users (See SAML Assertion Flow https://help.salesforce.com/apex/HTViewHelpDoc?id=remoteaccess_oauth_web_sso_flow.htm&language=en_US )...
0
votes
1answer
25 views

Can Sends be Moved to new Categories (Folders)?

I have a bunch of sends for a project at the root of our account (Tracking > Sends). I'd like to move them all (identified by Send ID) to subfolders. Ideally, this would be done programmatically. Is ...
0
votes
1answer
8 views

Case Queue in API as attribute on Case?

I was wondering if it is possible to retrieve the value that the case is assigned to by using the api similar to how I retrieve other values associated with the case. I am currently using the soapbox ...
8
votes
1answer
64 views

OAuth interactions: do they count as API calls?

OAuth token grants and token authorizations are human interactions that take place in the browser. And token refreshes happen to be machine interactions. Do any of the typical OAuth interactions count ...
1
vote
1answer
26 views

Create Salesforce KB article using API

According to https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/knowledge_API_intro.htm, it is not possible to create a kb article via the REST API. Is that correct?
1
vote
0answers
52 views

Google as OAuth2 Provider to Log In from Mobile Device

I'm trying to login to Salesforce in a Xamarin app through Google in order to get a valid bearer token to interact with my custom Salesforce REST API. It works just fine if I point Xamarin.Auth to ...
3
votes
2answers
98 views

How do I do concurrent updates/lock and update records using C#

As I understand it, I cannot use FOR UPDATE keyword when selecting records via Salesforce SOAP API (wsdl) before I update them. How do I make concurrent updates on a record retrieved via API?
0
votes
1answer
37 views

End Point URL Error in HTTP Class?

I have a 3rd Party Endpoint Url Which I Paste in browser Address bar I can see the XML Data. But the same Endpoint URL , I invoke via Apex Class (Http Call) I will get a Error Message From the System ...
0
votes
1answer
103 views

Exact Target REST API Can't Create Send Definition

I am trying to create a send definition via the Exact Target API. I've been using POSTMAN to test my API calls. When I submit a create send definition call I am getting the following error: { "...
3
votes
1answer
19 views

How do you construct an integration that populates the Application on Login?

We have a lot of custom integrations to Salesforce that use the same user credentials and I would like to be able to tell which is which. I've seen managed packages that declare who they are with a ...
2
votes
0answers
18 views

Scheduling mass delete of pdf Attachments from Account using Data Loader ClI

I was able to upload pdf attachments to account object using Data Loader CLI. I want to delete these attachments daily and upload newest pdf files. Can somebody please suggest how can I schedule mass ...