Tagged Questions

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
1answer
20 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
0answers
15 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 ...
3
votes
1answer
249 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
22 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
9 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
21 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
24 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
32 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
2 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
17 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
24 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
17 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 ...
1
vote
1answer
21 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
29 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 ...
0
votes
1answer
39 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
34 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
18 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
21 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
16 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
10 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, ...
0
votes
2answers
28 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
15 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
56 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
45 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
21 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
96 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
16 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
38 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
43 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
32 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
13 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
27 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, ...
6
votes
0answers
273 views

What would be the proactive steps that we need to take when salesforce disables SSL and enables TLS?

I heard that salesforce would stop the support for SSL 3.0 and will enforce TLS 1.0 and higher. https://help.salesforce.com/apex/HTViewSolution?urlname=Salesforce-disabling-SSL-3-0-encryption From ...
3
votes
1answer
847 views

Ensuring my application complies with SSL3.0 being disabled?

I have developed an application in C# that makes use of the Salesforce API via a WSDL and need to ensure that the upcoming disabling of SSL3.0 will not affect functionality. I have never had to do any ...
2
votes
2answers
80 views

How to Query what Salesforce SObjects a user has access to

Please suggest How to Query what Salesforce SObjects a user has access to ? Based on this i want to give access to user on particular apex tab menu . Thanks
1
vote
0answers
36 views

Show major tick on google meter gauge chart with amount as $1k , $2.5 M

I am creating visualforce page which contains a google meter gauge chart as shown above. I am showing trying to show amount in gauge but as you know representation of amount in 1K , 1M ,1B will give ...
0
votes
0answers
42 views

How can I get apex class parent through API?

Is there any way to get parent class ( I mean inheritance, not interface) of an apex class using any API in java? And the same question about class modifiers (like public abstract) - is there any ...
0
votes
1answer
52 views

FIELD_INTEGRITY_EXCEPTION Must specify a nameField of type Text or AutoNumber

when i am creating salesforce custom object in C# using salesforce metadata api i am getting following error: FIELD_INTEGRITY_EXCEPTION Must specify a nameField of type Text or AutoNumber CODE: ...
0
votes
1answer
20 views

How to retreive all lead fields from salesforce?

Hi I am using salesforce Enterprise api to add leads in salesforce. $SFDCUSERNAME = "myusername"; $SFDCPASSWORD = "mypassword!"; $SFDCSECURITY_TOKEN = "mytoken"; $SFDCCLIENT = ...
1
vote
3answers
53 views

Field level security and API access

Could someone please explain how both of the following two statements are correct: A field hidden by field level security is not visible through the API. A user has not been granted field-level ...
1
vote
2answers
52 views

How to get a list of installed packages' names using API

How can I get a list of installed packages' names (not their namespace prefixes) through API in java? This answer describes how to get their namespace prefixes like "Rknews" for example, but not ...
8
votes
3answers
170 views

How do I send SMSes from Salesforce?

What would be the approach to create an SMS application (either in Salesforce or other language) to send SMS from Salesforce? Is it feasbile if the client-side process is done through a streaming API ...
1
vote
1answer
25 views

Is salesforce API works as per the login user profile permission?

I am logged in as administrator and download the salesforce API (WSDL). I am logged in as sales agent and download the salesforce API (WSDL). Both users are having different profile permission. when ...
3
votes
1answer
69 views

Which Salesforce web APIs are available to Group Edition?

I've been writing a REST API-based service and testing on a Developer Edition org user and it's been working fine, but it stops working for a Salesforce user with a Group Edition org. I get this ...
0
votes
1answer
15 views

ASP.NET API Question: How do I add an existing subscriber to an additional list?

How do I add an existing subscriber to an additional list? I am using asp.net api. I am able to add new subscribers to the list using code like this: ...
0
votes
0answers
20 views

Cookie / User matching with fuel rest api?

This refers to the Fuel REST API: Let's say I go ahead and implement ExactTarget on a customer website who has a few web properties. Obviously ExactTarget will "know" it's the same individual across ...
2
votes
1answer
32 views

Fuel SDK - Subsequent ET_BounceEvent() calls with same parameters returns empty Results

I'm using the C# Fuel SDK to fetch BounceEvents created on a given date. On an initial request, I receive back a GetReturn with a Status of true and an expected batch of APIObjects in Results. ...
1
vote
1answer
29 views

Delete list of object via REST API

Is there any way to delete a list of object via single request? I see a possibility to delete only one per request - Delete a Record
1
vote
1answer
94 views

Salesforce API login Status=Server Error, StatusCode=500

In the past i implemented following example http://developer.force.com/cookbook/recipe/verifying-password in order to login a user via API: I've exactly same code and it worked for 1year. Now it ...