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
23 views

Perform crazy SOAP invocation using HTTP GET

Some REST endpoints do support the use of _HttpMethod override parameter: If you use an HTTP library that doesn't allow overriding or setting an arbitrary HTTP method name, you can send a POST ...
2
votes
2answers
23 views

How can I get organization's namespace prefix or at least ALL namespace prefixes including org through any API

How can I get organization's namespace prefix through API? This solution doesn't match because it's not supposed that I know anything about org classes. I understand that I can query ApexClasses ...
2
votes
0answers
17 views

Salesforce connection timeout when sending attachments via 3rd party integration platform

I'm trying to create attachments in Salesforce using a 3rd party integration platform (Boomi). The Boomi timeout has been increased to 10 minutes, but the Salesforce connection times out after 2 ...
0
votes
0answers
22 views

Rest API Lessons [closed]

I'm trying to teach a non-cloud programmer how it is that he can sign people up for our Salesforce Community using the REST API from one of our websites. I created a Connected App. I gave him various ...
1
vote
0answers
7 views

Profile Login IP Range Description Missing

I am missing the description field from the loginIpRanges for profiles. According to this doc (http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_profile.htm#ProfileLoginIpRange_title) ...
1
vote
0answers
12 views

How do you unsubscribe a subscriber from just one list

I'm new to Salesforce development and specifically Exacttarget development. I need to write a custom opt-out page (that can be branded). So when a user clicks "Unsubscribe" they are taken to a ...
0
votes
0answers
8 views

Metadata API SearchLayouts not showing updates

I'm making extensive use of the Metadata API (We have it implemented in Javascript for an admin page on a managed package). The main features we're using is the automatic creation of buttons (to ...
0
votes
1answer
37 views

Access to an external API using salesforce?

I am trying to implement an API that will connect to an external database or software to get relevant informations. Can you please give me some ideas about how to start and how to do ? EX: 1 - ...
1
vote
1answer
27 views

How to distribute your own data on Salesforce?

I will work on a new project related to salesforce. Actually what we want to do is to have a salesforce API that contains our database and this API will accept connections from our clients. Once we ...
1
vote
0answers
23 views

Slow responses and high timeouts retrieving SentEvent

When retrieving SentEvents: A call requesting an hour of EventDates resulting in 196 events, takes 8-9 seconds to receive a response A call requesting 24 hours of EventDates resulting in ~5000 ...
3
votes
1answer
33 views

I need to call custom package/class controller actions remotely. Possible?

We have several custom packages (SCM, Conga, FF). I've only ever used SOQL triggers for remote API use. We have a situation where a package action triggers several events across multiple packages. The ...
0
votes
0answers
19 views

REST API to get validation rules NodeJS

How do we get the list of all validation rules in SalesForce through the REST API? I'm using NodeJS. I see that there are methods in SOAP API (listmetadata) which can help, but can't find anything in ...
0
votes
1answer
20 views

Correct Permissions to Manage Bulk API Jobs

One of my users ran an import of leads into the system. When the import was complete she received this e-mail notification: Your Leads import is complete. Here are your results: Leads Created: 89 ...
2
votes
1answer
92 views

Eclipse Force.com IDE - Why is the possibility to specify a hostname provided?

When I login to salesforce through Eclipse Force.com IDE, there are four way to specify environment. Why is the fourth Other(Specify) with Hostname needed ?
0
votes
1answer
22 views

Lead Event Callback Notification

Is there a general event callback API for salesforce? Essentially I want SFDC to post to my application every time a lead object is created or updated. The alternative is daily jobs to inspect my ...
1
vote
2answers
53 views

Date format with Salesforce REST API

I'm retrieving the "LastModifiedDate" attribute of a File through a GET request with the Salesforce REST API but I just can't figure out the date format. Salesforce's documentation states the date ...
1
vote
1answer
28 views

When should I use SoapBindingStub v/s Connector

I was searching for salesforce apis and got two code to login to salesforce using partner wsdl. This example uses SoapBindingStub to login to salesforce. Sample code import ...
1
vote
1answer
31 views

I want to retrieve data from cloud and insert it into Salesforce

I have data on server that changed on daily based , so i want to retrieve data from this server and push it on Salesforce , i'm thinking to use apex batch with schedule to implement this process , but ...
0
votes
1answer
39 views

Adding a validation rule to a Javascript Button

In advance, thank you for your help. What I am trying to do is to create the following validation rule (whether it will be an actual validation or a javascript API validations, that remains to be ...
4
votes
1answer
280 views

Is it possible to check how close we are to our API call limit before making a call through the API?

We use Salesforce to manage our website logins & access to our products. If something goes wrong with our site or it gets attacked, we quickly go over our API call limit which means that our store ...
4
votes
1answer
43 views

Which way to update apex class through API is preffered: MetadataContainer in Tooling API or compileClasses in Apex API?

I need to save some Apex classes through API in java and this question confused me: In documentation for the Tooling API I found an example how to update Apex class using MetadataContainer. This ...
-1
votes
0answers
14 views

Create report using Meta data api in apex

I found a link for implementation https://github.com/financialforcedev/apex-mdapi , to create custom object and feilds of object , but i need a solution to create report using this api any one have ...
0
votes
1answer
20 views

streaming api functionality to keep the application on the non-salesforce server up to date quicker

We have an application that communicates with another application on a different server. From my understanding, due to governor limits to api calls, the application caches all updates from the ...
2
votes
0answers
37 views

How to add Attributes to a TriggeredSendDefinition on LandingPage

I am creating a landing page with a form. On submit, the form passes variables to another landing page that will process and perform three different tasks, two of which are performing a TriggeredSend ...
1
vote
1answer
30 views

Creating a Salesforce community user using API

We are starting a project that will enable us to sell services to individuals over the force.com platform but from within a application that is in-house. I am writing the specification for the ...
2
votes
1answer
52 views

How can I Deserialze JSON Object and save them to salesforce

I have the following JSON reponse format. I would like to save only specific information on salesforce i.e. all the user details, description, zip code, location, request_status, space and state: { ...
1
vote
0answers
3 views

Email attribute on all links

I'm using the API to distribute an email, the html content has links to my site. Link tracking is enabled and my links are translated into the tracking url, however when I am redirected to the target ...
2
votes
1answer
23 views

Creating Subscribers in ExactTarget via Java (and adding them to a list)

I have successfully been able to create Subscribers using the Java API which fall under 'All subscribers'. What I would like to be able to do is create a subscriber and add the subscriber to a ...
0
votes
1answer
26 views

Adding standard field using API

I want to add a standard field on contact object page layout using API . How can I do that, just a high level solution will help to do.
1
vote
0answers
36 views

Invalid ClientID/ClientSecret from FuelSDK Exacttarget api

I'm getting email actions (opens, clicks, sent) via Exacttarget python Fuel SDK but after a while I'm getting the following error on some occasions: File "../FuelSDK/client.py", line 201, in ...
2
votes
1answer
27 views

How can I view a Send Definition after creating it?

After creating a SendDefinition using the ExactTarget API, CreateResult[] cResults = etClient.Create(new CreateOptions(), new APIObject[] { esd }, out cRequestID, out cStatus); How can I have a ...
1
vote
0answers
35 views

readMetadata returns nil records, what am I doing wrong?

I'm able to list Layouts with listMetadata just fine. When I attempt to readMetadata for a Layout I get nil records back. Any ideas what might be happening? Thanks in advance for replying. SOAP ...
1
vote
1answer
53 views

How to secure Web Service API integration with external systems

I am given few URLs (web service APIs), which when called would fetch and display data in JSON format and I am using these in my Salesforce Org and use them to update few of Salesforce fields. I have ...
3
votes
1answer
48 views

Timeout while retrieving email responses via python SDK

Trying to get open events using the python code below: getOpenEvent = FuelSDK.ET_OpenEvent() getOpenEvent.auth_stub = stubObj getOpenEvent.props = ["SendID","SubscriberKey","EventDate","EventType"] ...
0
votes
1answer
21 views

Multi-tenant integration pattern for managed package

In a managed package performing calls to external API what is best way to support multi-tenancy? Let's say I have a hosted multi-tenant API that accepts incoming request such as ...
1
vote
1answer
29 views

Error Message for web service call?

I am trying to write a valid error message for when certain lists/calls return empty, without having to remove 'void' from my class, what is the best practice/syntax for this task? I know I can remove ...
2
votes
0answers
19 views

Is the API Confirmation Necessary when unsubscribing via ExactTarget?

Right now when someone unsubscribes, we make an API call to ET and wait until we get a confirmation back from ET that the call has been accepted. However, the timeout for this is 5 minutes and its ...
0
votes
0answers
11 views

Convert <sf:> tags to another formats

I am new to SF so I don't know much more about it, I am getting a record from SF api for a call details of a number so it returning me data in tags like I am unable to get data from these tags, ...
1
vote
2answers
32 views

Is Salesforce PHP Api supports TLS by default

Does the Salesforce PHP API supports TLS by default?, if yes how can i check it/prove it I googled about this, I get the related information but it's not exact.
0
votes
0answers
23 views

How do I create a filtered data extension via FuelSDK?

Is it possible to create a filtered data extension via the ExactTarget/FuelSDK API? I need to create an extension and specify the Source (another data extension), Type (filtered) and Query (where ...
2
votes
2answers
66 views

How to get an older version of the API?

There is a known problem with api v32 when used in tandem with .NET dealing with a particular type cast: ListViewRecordColumn[][] to ListViewRecordColumn[]. To my knowledge there is no permanent fix ...
3
votes
1answer
58 views

API PHP Partner WSDL REQUIRED_FIELDS_MISSING

I am having an issue with the Partner WSDL. When attempting to create a new opportunity over the API I am getting a return stating that required fields are missing. These fields are correctly being ...
1
vote
1answer
26 views

How to add a lead to a specific campaign via API

I'm using node-salesforce to create leads when they submit a form. I need that lead to also be part of a campaign, here is my code: conn.sobject("Lead").create({ email : req.body.signUpEmail, ...
3
votes
2answers
103 views

Chatter API: Error Code 403: Origin not Whitelisted

When I do a GET request through the Chatter API at /services/data/v30.0/connect/communities/<community id>/chatter/users/me/messages I get the following error back from Salesforce: 403 ...
0
votes
0answers
23 views

How best to secure client_id + secret using - Rails + Restforce

I've successfully managed to set up an app using my developer account - it is currently making use of Ruby on Rails 4.2.beta2, ejholmes most excellent gem restforce and the very helpful tutorial and ...
2
votes
0answers
40 views

How to Enable TLS 1.0 encryption for API integration [duplicate]

Salesforce is going to disable SSL 3.0 encryption on 7th November for all the sandbox instances and later for production instances. In sandbox environment, my .Net client application using OAuth 2.0 ...
3
votes
1answer
77 views

ExactTarget REST API - Getting issues with /contacts/ and /campaigns/

I'm new with ExactTarget APIs, I'm using Php curl to request the ExactTarget REST API. Basically, I tried to create a contact: $array = array( 'contactKey' => 'test@test.fr', 'contactId' ...
0
votes
0answers
46 views

Create and insert new document into specific folder via (sfdc) REST API?

In order to create a new document and insert it to a specific folder via API, must I specify the folder in Database.insert (doc); method? I am getting a missing required fields error when testing ...
0
votes
0answers
15 views

extract articlesfrom knowledgebase

Is there a way to problematically extract knowledge base articles in salesforce? I am looking to create some sort of a ETL or batch process that extracts knowledge base articles on a dialy or hourly ...
1
vote
1answer
45 views

deserializing JSON returns a null ojbect

I'm trying to deserialize a JSON response into a list, so that eventually I can iterate through the list and create new contacts from the response. This is my first time working with APIs and JSON, ...