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
2answers
19 views

How do I use the SOQL IN keyword in the API? (C#)

I'm building something in which I get a list of parent objects, then would like to get a list of child objects whose parent account ID appears in the first list. Normally I would do something like: ...
1
vote
1answer
19 views

Duplicate :[Is there any documentation about using Client ID / Token with REST API to access Group and Professional Editions?]

I know my question is similar to other topic as mentioned in title but there are few points that I would like to clarify: My Scenario: I have created an APP and it uses REST API functionality. ...
2
votes
1answer
30 views

Is there REST API to trigger a file transfer/import job/program?

Is there any way I can avoid having to travel back in time to use SOAP and instead use the REST api to: 1) Trigger a file transfer 2) Trigger an import job 3) or Trigger a program ? I believe the ...
2
votes
1answer
16 views

Clearing Data from a Data Extension through API call

I am trying to clear a data extension via API call. I have ExactTarget web service reference into my project as https://webservice.exacttarget.com/Service.asmx I have found a sample code to clear a ...
2
votes
1answer
37 views

How to increase Session timeout to more than 12 hours?

Currently the Session setting is having the maximum time out value as 12 hrs. Is there any way to remove this session time out constraint? Can we make this feature disable by raising a ticket with ...
0
votes
0answers
8 views

Using ListView object to retrieve leads and contacts using API

I am (attempting) to use the Salesforce SOAP API to retrieve leads and contacts from a user's view. Thus far I've managed to pull the view's definition as a ListView custom object: <?xml ...
1
vote
1answer
17 views

Error in ExactTarget API when adding subscriber with mismatched SubscriberId & Email

I have created an API call for triggering a TriggeredSend in my account. The account has the triggered send in Running status. The trigger is working when I make my API call. The problem is not that ...
4
votes
1answer
36 views

Issues with connected App - {“error_description”:“authentication failure”,“error”:“invalid_grant”}

I've successfully implemented the oAuth2 authentication process using the Web Server Flow of the REST API between my application and Salesforce, and it's working great when connecting with a Developer ...
1
vote
2answers
29 views

Is there any way to get the latest created Package version from a packing org?

I have a packaging org, where I am creating managed package. I would like to use an API to get the version number of the last created package. Is there any mechanism to achieve this?
2
votes
1answer
24 views

How many API calls is a single select statement?

I'm using a 3rd party tool to execute a SQL select statement on one object. Is that the equivalent of using only 1 API call, or is it more?
0
votes
0answers
47 views

How to Access contacts of Salesforce account from External Modules/Portals using OAuth

I am creating an application in angularjs. and I want to import contact of salesforce account in my application. I have already got response of access_token and I am passing given below url. ...
1
vote
0answers
15 views

Reference date /time when Sandbox is refreshed through API

Is it possible to reference the date and time that a Sandbox is created /refreshed through the API?
1
vote
1answer
16 views

In code, data loader or API can I control the social image on a contact?

When social accounts and contacts are enabled you get an image at the top of the Contact or Account with links to a host of social media. It looks something like this; This image also controls the ...
1
vote
1answer
18 views

How to detect changes in formula field value via API?

I've been stumped on this issue for a while now. I have a system which polls Salesforce for updates to records, based on LastModified timestamp (or getUpdated()). Updated records get synched down to ...
2
votes
3answers
27 views

Recurrent CSV import?

We have a client that will give us a .CSV with accounts once a week. I'm wondering how to automate the process of getting this data into SalesForce. I've been told it can only be done through Open ...
1
vote
1answer
25 views

How to provide a numerator to external software?

During a record creation from an external software (Using API) I need to get "The next value of a field" I have the field set as a number, that starts from: 50000 I need to get that number, and than ...
0
votes
0answers
30 views

Salesforce1 and API limits

Do Salesforce1 operations count toward API Limits? I can see the calls in the "API Calls Made Within Last 7 Days" report but it seems they don't count in "API Requests, Last 24 Hours" in the Company ...
2
votes
1answer
17 views

Significance of getRelationshipOrder() in Master-Detail DescribeFieldResult?

For Master-Detail relationship fields, the DescribeFieldResult has a method called getRelationshipOrder(), which, according to the docs: Returns 1 if the field is a child, 0 otherwise. At first ...
3
votes
1answer
28 views

Upsert externalIDField

I am trying to run an upsert from a batch script. I can't seem to track down any documentation on the actual mapping file when using an external id from a .csv file. How do I tell my upsert which ...
1
vote
2answers
46 views

Obtaining a security token for API integration

I'm trying to setup a KeySurvey API integration for one of the Survey forms, with the goal of having the Survey push data back to the corresponding record in SF. The one roadblock I'm running into ...
3
votes
3answers
153 views

What's the difference between these authentication endpoints?

Based on the information in the Salesforce rest-API documentation, examples of valid restful endpoints for authentication are: For authorization: ...
0
votes
1answer
85 views

How to use 31.0 Api Version

i have a developer org in which i can set highest version upto 30.0 .but there is a lot of upgrades in 31.0 metadata api.How can i use 31.0 api version in my apex class and pages.
7
votes
0answers
108 views

Weird missing record issue with SOQL query

Can someone help me understand why this query is returning 1 less record than expected when a Date custom field (Due_Date__c) is included in the SELECT clause? As you can see in the screenshot, it's ...
4
votes
1answer
25 views

How to reliably detect whether BULK API is enabled for an org

We have a managed package which loads data into customer Salesforce orgs. We attempt to use the BULK API first and fall back to the REST API if necessary. So we need to be able to detect if the BULK ...
0
votes
0answers
14 views

searchAndScreenPop Returns ID of Custom Object

When the CTI Adapter calls searchAndScreenPop, the function returns the id, selected fields, and the name of the object. For example, the documentation shows the following as an example of a valid ...
3
votes
2answers
112 views

No service available for class for Soap call

I'm searching a simple Webservice test on Salesforce. I created a simple WS global class AccountPlan { webservice String area; webservice String region; //Define an object in apex that ...
1
vote
1answer
26 views

ExactTarget - Get SentDates of TriggeredSends

Is there any way of of filtering TriggeredSends by the date that it was sent? Kind of how the SentDate works for Sends. I can pull the totals (TriggeredSendSummary) of all the TriggeredSends by the ...
0
votes
0answers
38 views

Cannot create new project on eclipse [duplicate]

I installed eclipse and java on window 8 then installed plug in following this link https://developer.salesforce.com/page/Force.com_IDE_Installation Now I found issue , I cannot create new project ...
3
votes
1answer
30 views

Retrieving data extension used to filter e-mail send

I'm new to ExactTarget, and I'm having some hard time to do something that should be simple. We direct our e-mails using a list of All Subscribers, and filter then using data extensions. When I go on ...
1
vote
1answer
22 views

Retrieving User information via API/Programatically

Can some one please let me know how to obtain the following information for a user programmatically or via API: : Token Client_Id Client_Secret We need to do this through a secure connection. ...
2
votes
1answer
30 views

Populating Client ID for API Call reporting purposes

This is loosely in reference to another Question: Client Id blank in "API Calls Made Within Last 7 Days"-Report I'd like to find out, so that our Developers can implement it, where ...
1
vote
0answers
13 views

ExactTarget - ComplexFilterPart - Multiple Exclude ListIDs

Using the ExactTarget API, can you create a ComplexFilterPart and include a SimpleFilterPart that contains multiple ListIDs to exclude? It seems that there should be a NOTIN SimpleOperators option ...
2
votes
0answers
39 views

How to find the number of subscribers in an ExactTarget list without looping through every subscriber?

I'm trying to find the total number of subscribers that are within a specific ExactTarget list. I have the ListID, and am successfully connecting to the list. Since the list has about 1 million ...
7
votes
2answers
74 views

Doing query as specific user

Situation: We are doing SOAP API (custom made apex webservice) calls to service using admin user. Those calls do search on Accounts (millions of records, search mostly on Name field) Account are ...
3
votes
0answers
27 views

How to find the number of TriggeredSends sent between a date by the name of the Trigger?

I need to pull all TriggeredSends with the word "Confirmation" in the name of it that were sent between a specified date. The reason I need to pull by the name, and not an ID is because this is going ...
1
vote
0answers
18 views

Retrieve ImportDefintion and corresponding Business Unit for each Import Definition

I am attempting to Retrieve ImportDefinitions from an Account and would like to know which ImportDefinition belongs to which Business Unit. I am expecting a property of Client.ID to be a valid ...
0
votes
0answers
16 views

I keep getting a "thread is being aborted error' when doing retrieves in ampscript

I have a script in ampscript that does a retrieve for an open event based on a send id. For each subscriber returned from this retrieve, i then check the lists they are on by retrieving ...
3
votes
1answer
19 views

Schedule removal of activated login IP & activated client browsers

I want to force users to regularly go through the SMS login activation process by clearing down the activations list in Salesforce. In the Salesforce configuration menu Setup>Security ...
2
votes
1answer
22 views

Retrieve final email sent to subscriber

I'm trying to understand whether it's possible to retrieve the final email sent to a subscriber via the API. We would like to import these into our system to link back to the subscribers in our own ...
1
vote
1answer
40 views

Export Data Extension to FTP server via API

Looking for a faster solution to download data extension data. Currently we have a solution similar to this ... ...
1
vote
0answers
31 views

Is this an acceptable method to send SOAP API envelope using PHP?

I'm trying to post a SOAP envelope to the ExactTarget API using this PHP: http_post_data('https://webservice.s6.exacttarget.com/Service.asmx',$xml); (where variable $xml is the SOAP envelope) I'm ...
2
votes
1answer
16 views

How do I modify the Create Send SOAP API call to allow me to send to a data extension instead of a list?

The example SOAP envelope I downloaded to "Create Send" uses the parameter to specify the email target. I wish to send my email to a data extension instead of a list. How do I do this? Is it as ...
2
votes
0answers
33 views

How to set sort order for report called by analytics api using json/ajax

i try to change the sort order of a report called via analytics rest api. For grouped reports there are sortOrder attributes in the grouping section, but i have to call a tabular report. If i call ...
1
vote
1answer
46 views

Where do I find the client id and client secret of an existing connected app?

Where do I find the client id and client secret of an existing connected app? The documentation talks about this information being provided when creating a new app, but what if my app already exists? ...
3
votes
1answer
38 views

Reduce size of result sets in Salesforce Bulk API

Is it possible to reduce the size of the retrieved files in the Salesforce Bulk API. Currently it creates multiple files with a maximum size of 1Gb. I would like to reduce that limit to ~100Mb. The ...
23
votes
5answers
432 views

What are all of the reasons why Salesforce customers should upgrade the API version on their Apex classes, triggers, and pages?

I haven't been able to find any official documentation or community discussion of the compelling reasons to upgrade the API version on Apex classes, triggers, and pages. I know there is the general ...
4
votes
1answer
42 views

Inline Visualforce API issue

I have asked this question of Salesforce support from my partner portal but they closed it without answering (which I am trying to deal with as a separate matter), but it is affecting my client's use ...
2
votes
1answer
51 views

Exacttarget : .net/c# and API

So far i have been using SSJS and/or AMP script for Landing pages and others in Exacttarget. Am just wondering, how can i use C#/.net to do the same instead? How? where do you put it ? Dont mind if i ...
2
votes
1answer
29 views

API to check what types of tags is enabled

I can't find anything in the documentation of API which would discuss how to check what types of tags is enabled(public or personal)
3
votes
1answer
38 views

I have a failing API call. What tools can I use to investigate it?

Yesterday my app made 23 calls to salesforce's API that failed, and I would like to find a record of those calls on salesforce user account. After about an hour of looking, I haven't been able to ...