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

2
votes
2answers
66 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
17 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
36 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
18 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
17 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
33 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
37 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
144 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
18 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
42 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
13 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
17 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
29 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
23 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
43 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 ...
1
vote
1answer
21 views

Can we add a new Mobile Number as well as Attribute value via Mobile Connect API?

We have a pretty simple form right now that collects a Mobile Number and fires off initial messages via QueueMO. However, we now want to collect ZipCode and append that to the mobile connect ...
0
votes
1answer
29 views

Can variables be passed through API call to AMPscript block?

We are trying to pass through external variables via an API call that will then assign values within an AMPscript block to populate a triggered SMS communication. All the API calls are ending up in ...
1
vote
0answers
41 views

FUEL API: Best Practices for Multithreaded queries

I have a question: We’re trying to implement some multithreaded queries using the Fuel API, and are curious about rate limits. Are there any best practices for this type of scenario? How many calls ...
2
votes
2answers
47 views

Why do I get this error: No such column 'AccountNumber' on entity 'Account'

I have seen a similar question asked/answered in multiple places. The gist of the answer is to rely on SOQL Polymorphism. But most examples don't start with with the Account Object, which as far as ...
2
votes
0answers
20 views

Create reports programatically with apex?

Winter 14' gives the ability to run and get report data, but I can't find anything about creating reports dynamically in the API documentation - ...
2
votes
1answer
48 views

How does API request limit count

Our org has hit API Request Limit again yesterday which is 25k in 24 hours. Since it is not a small number I am wondering how does that count. Suppose we were running a test class, how many API calls ...
0
votes
2answers
37 views

Is there any way to create something like Web-to-lead for custom object

can anybody tell me if it is possible to create something like Web-to-lead(Integrate online forms with Salesforce) for custom objects. Thank you in advance
1
vote
2answers
52 views

How do you send multiple emails to one person via Triggered Sends?

I'm testing sending transactional email through the Exact Target API and the Fuel SDK for PHP. I've successfully sent a test email but I don't appear to be able to send a second email to the same ...
0
votes
1answer
45 views

How to make API calls

I want make an API call with an external website to login to external web site using salesforce custom object data on click of a button on a custom button. Can I know how to start with when an a API ...
1
vote
1answer
10 views

Problem with setAccount using WSC API gives field not indexed field error

I'm trying to create an Event for a specific Account and the WSC api won't let me call setAccount(account). It gives me various errors, the most recent one is Field name provided, Id is not an ...
2
votes
0answers
13 views

is it possible to accesss communities information via the soap api from the perspective of a communities user?

I would like to be able to retrieve Communities groups/posts/likes information available to a community user via the SOAP API (using an api user credentials), I understand that there are already lots ...
0
votes
1answer
44 views

How to get Email Template executed body

I am working on sending email by using 3rd party application like Amazon SES When i query for perticular email template i am getting body whaever the email templated had like Email Template body ...
0
votes
0answers
35 views

Set CreatedBy and Owner when creating custom objects

Is it possible to set CreatedBy and Owner when creating custom objects? I am using Java API remotely to create custom object (using OAuth2 protocol). When the objects are created they have the admin ...
2
votes
2answers
33 views

How to identify API usage per custom application

I am developing a few applications using the enterprise wsdl. Is there anyway to identify my applications with a name or ID so I can later track API usage on a per application basis?
1
vote
1answer
45 views

Appropriate way to send individual Welcome Emails via the API?

Currently, I have a Welcome Email solution (PHP) that works via the ExactTarget API. However, it's a little messy and is causing issues within the ET user interface. Basically, upon registering for ...
3
votes
0answers
22 views

Restrict API User from accessing User object

My employer, a company that is extremely conservative about who has access to company information, is considering a purchase from the SalesForce APP Exchange. Part of the integration process is ...
2
votes
1answer
45 views

Connecting Salesforce and ExactTarget to Send Emails Through ExactTarget

Is it possible when data changes in SFDC, to automatically (in real-time or near real time) do something in ExactTarget?
4
votes
2answers
72 views

How to create an API only user

I want to create an "API Only" user but can't find the checkbox to do that. I can see "API Enabled" as one of the checkboxes on the profile and permission set pages but I think that's different. How ...
2
votes
1answer
58 views

Metadata API : How to get the translated values of picklists of my object

Wanna get the translated values of picklists of my object? How can I get them in Apex. I tried using Metadata APi but invain. Can anyone suggest me?
4
votes
0answers
48 views

Amazon SES Sending email with attachments

I am trying to send emails for salesforce with attachments HttpRequest httpReq = new HttpRequest(); httpReq.setMethod('POST'); ...
0
votes
1answer
31 views

Access other website API

How to access other website api from salesforce? I wanna access the career builder api(http://developer.careerbuilder.com/endpoints/index#collapse4) For that What I've to do?
0
votes
0answers
28 views

How to name number property for JSONGenerator

In the PayPal REST API, there is a credit_card object which has a property called number. Unfortunately, "number" is a reserved keyword in Apex, which means that I can't simply name my property number ...
0
votes
1answer
33 views

SOQL results correct result in query editor but getting blank values in API for same query

We are facing issue while fetching the Training Event fields by using following query: SELECT ...
0
votes
3answers
38 views

Can I take the first 15 digits from a field using the API Name in an email template in Salesforce?

I'd like to use a field on my email templates, but not the whole field, just the first 15 digits of the field. Is there a way with using the API Name in the template to limit to which characters are ...
2
votes
0answers
28 views

How to efficiently retrieve all workspaces and their users/groups

I have this use case where, for each workspace, I want to retrieve the users and groups that have access to it. Right now, the only path that I see is querying the UserRecordAccess object for each ...
3
votes
1answer
50 views

Load IP Whitelist into Salesforce via API

I have a list of around 412 whitelist records to load into the Network Access section of Security Controls in my org. With so many IP addresses to load, is there any way to load this programmatically ...
2
votes
1answer
127 views

Tabular report data via analytics API

I was wondering if I could run my tabular report via API and create a csv file by traversing the result. I had a look at the examples and wrote a piece of code but.... Unfortunately I have no idea how ...
1
vote
2answers
77 views

Error [System.HttpResponse[Status=Unauthorized, StatusCode=401]] when updating currency table

Code: global class CurrencyExchangeRateScheduler implements Schedulable { public String sessionId; public CurrencyExchangeRateScheduler() { String username = 'username'; ...
0
votes
0answers
26 views

Accept header in request(Firefox)

I have some strange issue. I do GET request using Salesforce API like this: var xmlHttp = new XMLHttpRequest(); xmlHttp.onload = function () { } ; xmlHttp.open("GET", ...
0
votes
0answers
41 views

how to know if an enterprise connection is alive

I want to know if a connection is valid, this is an example of what I'm trying to do: EnterpriseConnection connection = new MyEnterpriseConnection(); System.out.println("first " + ...
4
votes
2answers
151 views

Meaning of 'Salesforce API Access Change for Connected Apps' Salesforce Notice

Subject: Salesforce API Access Change for Connected Apps You are receiving this communication because we have identified you as a system administrator of an organization with users that ...
2
votes
1answer
35 views

How can I set an SObject field to null using Java API?

I have a third party service which updates custom object values in my service on Force.com platform using Java API and OAUTH2. From some reason when I try to update the SObject field value to null, ...
0
votes
2answers
58 views

Transferring csv file from FTP to Salesforce.?

Can someone help me in this and ways to do it and some sample code that is helpful for me.? I have no idea how to start this. Thanks
0
votes
0answers
27 views

How to update a org by another salesforce org?

I have 2 org org A and org B. Here I have to update the a different org B from org A. I am using streaming API to identify that the record is created, updated or deleted on org A. This much I have ...
1
vote
1answer
18 views

Find Users OAuth connected Apps via API or tables

I need to be able to find out what external apps users have installed through the API or a table. In their User record there you can view a related list of records and Revoke them from there. How ...