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

4
votes
2answers
75 views

What is the best practice re: API Version of your Apex Classes?

I'm in the process of pushing some updates to some code I originally wrote 12-18 months ago, and the API Version is between 27.0 and 29.0 I know this is to protect the integrity of the test classes ...
0
votes
0answers
5 views

Can we access Public Calendars and Resources through API?

Can we access "Public Calendars and Resources" (Setup -> Customize -> Activities -> Public Calendars and Resources) through API? If Yes, which table and which fields to be used for mapping ? Please ...
2
votes
1answer
16 views

Wordpress integration - Need some expert advice

What is the best way to publish content to a Wordpress site and make it available in Salesforce? Looking for the best way to take sales training content, video and downloads that are published to a ...
0
votes
0answers
19 views

multiple markers on google maps based 3 fields

Im trying to build a VisualForce Page that will show a map based on 3 fields address, radius (3, 5, 10, 15, 15, 50, etc.) miles and sub-type (ie. starbucks, walmart, CVS, Home Depot, etc.) based on my ...
0
votes
0answers
4 views

FuelSDK Python ET_Subscriber using SubscriberID in props

According to the documentation HERE, I should be able to explicitly specify fields in the 'props' which limits my results to only those columns. This appears to work until I add 'ID' (which is ...
1
vote
1answer
30 views

How to set Local Time when creating lead through API

I have a rails app that needs to occasionally add leads to our salesforce account. I got it to work just fine using the databasedotcom gem. Just one thing isn't working correctly, when I add a lead ...
1
vote
1answer
26 views

API to create Exact Target Email Templates

Is there an API in Exact Target to create an email template from HTML? I've seen questions on how to create an email from a template, but I want to do the opposite create a template from HTML. ...
0
votes
1answer
16 views

Problem in download WSDL file

Our client use professional edition. We want to use WSDL file but i don't find in API. Any solution for this problem ? Please give your suggestions. Thanks, Vimal
1
vote
2answers
19 views

Salesforce record and attachement export to ftp folder

I want to export record(Contact) with image(attachment ) into ftp folder. The export format for record are excel, xml and txt. Image in the form of jpeg. Each record should have separate file. For ...
2
votes
1answer
110 views

Best design for an external-system-to-salesforce integration

We have to integrate our Salesforce Org with an external system (ES1). The integration requirement is as below: ES1 has a custom object CO1 and ES1 is the MASTER for this object’ records. This object ...
2
votes
2answers
20 views

Total Newbie. Cannot log into my first test app using grant_type=password

I have set up a test application on my developer instance of Salesforce. I have a client_id, client_secret and I have the necessary security token appended to my password. I am trying to authenticate ...
2
votes
2answers
26 views

Is It Possible to get Field List Using API?

I want SalesForce All Fields List including Custom Fields Using API call. Is It possible using API?
0
votes
0answers
10 views

How to create Multiple Opportunity Using .net Code & Salesforce Connected APP Callback URL

I want to create Multiple Opportunity Using .net Code & Salesforce Connected APP Callback URL. I have tried using Rest API but Rest API Only Allow insert One record At Time.
0
votes
1answer
31 views

SOQL QueryResult returns Account name with prefix 'Account' in InnerText

I'm using the Partner WSDL to query contacts via .Net. I have simple SOQL query that pulls back every Contact with their email and Account Name: SELECT Email, Account.Name FROM Contact However ...
0
votes
1answer
42 views

How to create bulk record using rest API?

Example for creating an Opportunity : curl https://na1.salesforce.com/services/data/v20.0/sobjects/Opportunity/ -H "Authorization: Bearer token" -H "Content-Type: application/json" -d @newrecord.json ...
2
votes
2answers
100 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
67 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
22 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
117 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
20 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
1answer
90 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
31 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
54 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
32 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
22 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
vote
2answers
52 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
30 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
36 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
14 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
76 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
41 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
67 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
11 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
40 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
40 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
46 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
43 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
36 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
39 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
20 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
39 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
103 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
49 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
10 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
99 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
29 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?