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

2
votes
2answers
55 views

How to make triggers not fire when we use API tools like Data Loader?

I have written and deployed a Contact Trigger in our production environment, and whenever I would have to use Data Loader to mass update contact records, I would always have to go into the code and ...
1
vote
1answer
20 views

POST to SOAP Salesforce API in PHP

I am implementing my own SOAP API with Salesforce. I am not using the Salesforce PHP Client add-on. I am trying to create a new object, such as a Contact or Lead, via the API. My code to POST the ...
0
votes
1answer
8 views

Live agent deployment API: chat end callback

I'm using Deployment API to start the chat. Is there any way to know when the chat ends? I'd need to perform some action on the site when user finishes the chat, so a callback would be really useful ...
2
votes
2answers
103 views

What is the Salesforce version naming and numbering schema?

What is the apt way to comment on salesforce version. For example Salesforce has released SPRING 15, but I see the API Version as 33.0 What is SPRING 15 exactly termed?
0
votes
1answer
16 views

What are some options to display record information on an external website?

I have a client who is interested in embedding or displaying selective information contained on an Account record on their public website. They'd like to do this for a selected group of Accounts that ...
1
vote
0answers
39 views

Create Opportunity Using rest API; Error : 400 bad request in response

Example for creating Opportunity curl https://na1.salesforce.com/services/data/v20.0/sobjects/Opportunity/ -H "Authorization: Bearer token" -H "Content-Type: application/json" -d @newrecord.json -X ...
0
votes
1answer
16 views

Data Access restrictions to Salesforce objects via Apex Web Service

I'm going through this article : https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_web_services_methods_exposing.htm Have few questions regarding access to field/objects/record by ...
1
vote
3answers
36 views

How to get SObject type from object Id using REST API?

I have an object id that is a "parent id" of a specific Attachment object (e.g., b3KD0000119wDTlMAN). I'd like to understand what type this object belongs to, to query for it's details. It can also be ...
1
vote
0answers
17 views

ASP.net HTTP request with patch method

Example for creating Account curl https://na1.salesforce.com/services/data/v20.0/sobjects/Account/customExtIdField__c/11999 -H "Authorization: Bearer token" -H "Content-Type: application/json" -d ...
0
votes
1answer
16 views

How to create opportunity Using Connected App Callback URL

I have used bellow URL to get opportunity list using SOQL Query in .net Web application : token.instance_url +"/services/data/v33.0/query?q=SELECT+Id,Name+FROM+Opportunity" In SQL Query we can write ...
-1
votes
0answers
8 views

Guzzle HTTP client auth fail [closed]

I'm working on a project that need to call a API to get json response, but the Guzzle client auth is not working. It always redirect to the login page. "nasa" is the database. Here's my code: ...
1
vote
2answers
41 views

How to start a query activity using the API / DOTNET

I have this method: protected void PerformQuery() { string sStatus = ""; String requestId = ""; string sOverallStatus = ""; string sOverallStatusMessage = ""; ...
1
vote
1answer
18 views

Chatter API (REST)

Is anyone able to point in the direction of a tutorial on how I go about adding the API to a page. I am guessing I have to create an Apex Class then add code to my page. But I am unsure how I go about ...
2
votes
1answer
33 views

Retrieve subscriber object based on List Id

I would like to retrieve all subscribers for a list with their associated attributes. I am using the FuelSDK. It seems like the Subscriber Object is the correct one to use, so that I return all the ...
0
votes
0answers
11 views

Generate email preview for actual subscriber through API

I'm looking for a way to generate an email preview for the actual subscriber through ExactTarget API. I could only generate a "general" preview (no personalization etc.) with this URL: ...
0
votes
0answers
32 views

Calling Salesforce API

When I calling salesforce email templates via API will returns a message "call salesforce API using me" at end of my email. Doses anyone know how to remove this and what kind of user licence do I ...
0
votes
2answers
56 views

Select AccountId from Order

I'm new to Salesforce and SOQL but not PHP and SQL, therefore this question is a little odd to myself that I can't figure it out. The Enterprise SOQL query runs fine and presents the desired results ...
2
votes
1answer
28 views

How to prevent password reset email from being sent when creating new user in API

How to prevent password reset email from being sent when creating new user in API. Basically I'll be provisioning users via the API but because they are logging in via SSO, I don't want to send them ...
0
votes
1answer
50 views

Cannot access url https://login.salesforce.com/services/oauth2/token

My customer's webmaster uses REST API to create Leads in salesforce, from his website. Since yesterday he is getting a connection error. The password has not changed. I tried to make a call from a ...
0
votes
0answers
8 views

Can't see all users' ContentVersion rows in Workbench

Following query is useful to me, to see which files have been uploaded to Salesforce. This query only shows rows that have actually been created by the user who is logged into workbench and running ...
0
votes
1answer
29 views

Submit data using post by attaching data from request body

How to submit data using post and attach to request body? Salesforce code: string jsonstring = {"User": "testuser"} HttpRequest req = new HttpRequest(); ...
3
votes
1answer
38 views

FLS behaviour different between API and GUI/Apex

Assume Contact.DoNotCall and Opportunity.ContractId are FLS invisible for the standard profile "System Administrator". Both fields are visible in the setup and are reported by describe calls in Apex ...
5
votes
1answer
43 views

Standard field accessiblity inconsistent : feature or simply strange?

UPDATE: Thanks to @ca_peterson I could clarify the issue below and it all drills down to FLS. But even having identified FLS as the reason, the behavior is still odd and I have addressed it in this ...
0
votes
0answers
13 views

API Call Not Picking Up Latest Triggered Template in Account

Im the Program Manager for HSN and they are currently making an API call to trigger a test send, however its not picking up the latest triggered template we have in the account. Support sent me in ...
3
votes
1answer
40 views

Logging in the SalesForce with a PhoneGap APP with a Authenticated Website User

I developed a PhoneGap Connected APP that displays SalesForce logged user account details. Accessing as Administrator can access the information I need. accessing as a regular user (Authenticated ...
2
votes
1answer
34 views

REQUIRED_FIELD_MISSING when trying to access the Salesforce API with beatbox

I am using beatbox to access the SOAP API of Salesforce. More specifically, I am trying to convert a Lead using convertLead like so # Assuming soap_client is a PythonClient already logged in and # ...
-1
votes
2answers
33 views

SMS List of Numbers Subscription Status

Is there currently anyway to do any of the following .NET Soap or REST either way is fine. 1) Retrieve SMS numbers that have OptIn or status of "Subscribed" 2) Request list filtered by daterange ...
0
votes
1answer
19 views

Get names of all the columns using API giving Error

I am trying to get all the columns names using API. below is the code I am trying ,i need to iterate through the API object to get the Name of columns. But I am getting an error ...
0
votes
3answers
31 views

Hubspot Imports: Temporarily increase my daily API call limit

I'd like to import all of my apto contacts into Hubspot. This would require 18k API calls, and I have a limit of 15k. Is there a way to request a temporary increase on the limit on my account so I ...
1
vote
2answers
91 views

How can I check my API usage + limits and edition?

I'd like to see how many API calls I've made within the past 24 hours, as well as my request limit for a given 24-hour period. How can I do this? I was able to find this post, but I couldn't figure ...
0
votes
1answer
34 views

How to set header as user name and password in post method

I am developing a batch class to make api calls and get data from that api in to salesforce. I need to send http request by post method, with user name & password as header. I have tried but i got ...
0
votes
1answer
9 views

Does the Marketing Cloud API allow simultaneous log-ins by the same user?

I'm determining if multiple API users are required if multiple integration points to the Marketing Cloud are being built.
0
votes
0answers
61 views

Facebook Marketing API OAuthException trying to query customaudiences

I am trying to use the Marketing API for query custom audiences. Problem example: HTTP auth = new HTTP(); HttpRequest r = new HttpRequest(); ...
0
votes
0answers
24 views

Missing required lookup field when transferring data from org to org using API and External Id

I am migrating data using PHP Toolkit from one org to another using the source org Id as the External Id in the destination org. The problem is that any data with a lookup field does not get upserted ...
0
votes
0answers
10 views

how to filter history records through the API

Ok, so turns out that when you query history data like Case History, if you do so via the API, and the field changed is a lookup to another object, that you will have 2 history records returned ...
1
vote
1answer
45 views

Remove all subscribers at once

Is there a way to remove all subscribers in a list without making a seperate request to delete each subscriber?
1
vote
1answer
29 views

How to get full name for installed package just knowing its namespace prefix?

I need to retrieve all packages installed into organization along with their contents (i.e. classes, objects etc.). But different org could have different packages installed. I was going to use ant's ...
1
vote
1answer
25 views

Duplicate field names not yeilding results in Rest API Call from Salesforce to Salesforce

We are trying to view One Salesforce instance results in another Salesforce. We have an API Call Which Works. But when we do a Query like: Select Name, Owner.Name from Account We get the account ...
1
vote
1answer
16 views

Track number of API calls for an application

I'm working on an application, which uses SOAP, REST and Bulk API to integrate with Salesforce. Is there any API call in Salesforce which enables me to track how much API calls did I consume in a ...
0
votes
0answers
26 views

API access security in salesforce

I have batch class which fetch data from API url & insert that data into salesforce. Our other team which is working on API from other side they need to set security so that only our saleforce ...
1
vote
0answers
29 views

Bulk-API: How to add a batch with both CSV data and a query?

I'm trying to use Salesforce's bulk API to run a query on some CSV data. Here is the desired result: In SF, we have a field product.serial__c. I have a CSV with a bunch of serial numbers that I would ...
0
votes
1answer
17 views

Getting the API request error even though no APIs are consumed

I just registered a new org and we are making web service calls out "Web service callout failed: WebService returned a SOAP Fault: REQUEST_LIMIT_EXCEEDED: TotalRequests Limit exceeded. ...
0
votes
1answer
19 views

Changing the AppExchange listing

Can we change the AppExchange listing from public to private and private to public anytime? We have just released a product, and we would like to keep it private till 10 customers are using this ...
0
votes
1answer
32 views

Creation of a Public API

In my company's existing CRM system we have a lot of public APIs that are accessible to everyone in the web (kinda like Flickr APIs). We are planning to shift our CRM into Salesforce in the near ...
1
vote
1answer
39 views

Receiving 400's from the Data Extract SOAP API

I'm receiving 400's when trying to set up a Data Extract Activity. Request: curl -v -X POST -H "Content-Type: text/xml" -H "SOAPAction: Create" -d "$(cat dataextract.txt)" ...
0
votes
1answer
26 views

How to determine if subscriber is opted in for API triggered email

We are configuring a triggered send in our ET account that will be deployed via an external API. We want to determine if the subscriber is still opted in before we send. How is this possible?
0
votes
1answer
20 views

How do I create a Data Extension via the SOAP API?

I'm having trouble creating an API call that will create a Data Extension. I'm referring to the docs located here. Using this request: curl -v -X POST -H "Content-Type: text/xml" -H "SOAPAction: ...
0
votes
1answer
23 views

Create native iOS guided-selling app using BigMachines API and SFDC integration?

Does anyone know if it is possible to create a native iOS guided selling app (ask a few questions to get the right set of products or configurations) using just BigMachines API, and with SFDC ...
1
vote
2answers
62 views

simple API authentication

I'm looking for a way to connect to some Force.com API using only password + security token, username and URI in a similar manner SublimeText or realforce explorer do. All approaches I've found so far ...
0
votes
0answers
20 views

Managing Partners without the use of Communities

I have recently implemented Salesforce to our company and we would need to manage some of our partners. Ie. Allow Partners to update leads that are assigned to them through Salesforce. The Partner ...