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

API version changelog

Does such a thing exist? For example, I'm trying to figure out which API version the "40 character limit on pick-lists" was relaxed.
1
vote
0answers
16 views

How to send authenticated REST request with Python

Complete noobie question here. I'm trying to access the REST API for ExactTarget to access Campaign data and open / clicks etc using Python I have installed the FuelSDK and can perform requests such ...
1
vote
1answer
37 views

How to keep Session Id and key after implement ChasitorInit request

I want to integrate an social chat App (WeChat) into Salesforce, I wish this integration can implement an complete chat communication between Live agent and customer such as following: customer send ...
1
vote
2answers
16 views

API Usage Last 7 Days report - Minimum Permission Needed to Run?

I am trying to create a reporting user. One of the reports the user will run is the API Usage Last 7 Days report. I want to minimize the access to as much as possible but it seems the user's profile ...
0
votes
0answers
17 views

InvokeUpdate Unsubscribe Not Working [on hold]

My InvokeUpdate method does not seem to be updating the All Subscribers table as required. SET @subscriber = CreateObject("Subscriber") SetObjectProperty(@subscriber,"EmailAddress", @email) ...
1
vote
1answer
20 views

Dataloader API limits exceeded

We were loading lots of data in org and suddenly errors like Cannot obtain exclusive rights on records and then API limits exceeded. I did some research and founded salesforce reset its limits every ...
0
votes
0answers
16 views

Salesforce / MC integration with scoped User

We are responsible for maintaining legacy Salesforce code that replicates the Email Send functionality of the Marketing Cloud Connector. It replicates the functionality and extends it to include the ...
0
votes
1answer
15 views

List all attributes of a subscriber list

I am working with the marketing cloud web service API and I am trying to locate a method that returns a list with all attributes of a subscriber list (like: FirstName, LastName, Gender, and so on) ...
1
vote
0answers
27 views

Assignment rule always auto fire with no reason

I got a project which needed to setup an public community as an endpoint to receive JSON messages (URL post method). My community home page got a restful apex class to receive message and process it ...
1
vote
1answer
47 views

Live Chat error message “Session required but was invalid or not found”

I'm trying to develop an apex function to connect my Org with live agent based on Salesforce official guide. Apex function connect with live agent got 2 main step as following: Create a Live Agent ...
-1
votes
1answer
29 views

Marketing Cloud API via Apex : persistant 401

I use my id & secret to obtain an access token but now matter what endpoint I try per the Getting Started I still get System.HttpResponse[Status=Unauthorized, StatusCode=401] ... String ...
0
votes
1answer
23 views

How to differentiate Object and Field When both api names are same

How to differentiate object and field having same api name ex: object api name Cold_Fever__c and field api name is also Cold_Fever__c
0
votes
1answer
40 views

Is it possible to initiate a SF action from a third party application?

Is it possible to trigger a previously defined salesforce action (for example Post) from a third party application outside of salesforce? I looked at the REST API and other interface documentation and ...
1
vote
1answer
9 views

Can I use connected apps with API client whitelisting to control users API access on a per app basis?

Looking for the latest information on controlling user API access, as the last post I see is from 2013, where the best advice was essentially to audit the list of connected applications periodically. ...
1
vote
0answers
16 views

How to check used Module or Object name for the Salesforce report?

I have a report which is about Quotes in Salesforce created by one of the user, now I am trying to pull that report data using one of ETL tool talend using SOAP API's. But the issue is report are not ...
2
votes
0answers
11 views

can we update the content of file on google drive

https://developers.google.com/drive/v2/reference/files/update#try-it I am able to change everything except content of file
1
vote
1answer
15 views

Security considerations when enabling user API access

What are the security considerations to take into account when enabling API access? What items are accessible in apex, queries and other places? How about things like custom settings, encryption ...
0
votes
1answer
22 views

Updating the SubscriberKey on the All Subscriber table through the API

I'm trying to update an existing Subscriber in the All Subscriber Table through the API; i've set up the AppId in the App Center and have connected and created Subscribers, but i'm still having issues ...
0
votes
0answers
12 views

Error Updating QuickBook record through salesforce API

As i m trying to update customer object record in quickbook and i am getting following error System.HttpResponse[Status=Internal Server Error, StatusCode=500]. Any help would be appreciated. Getting ...
5
votes
1answer
171 views

How does query() API call count against my daily limit?

My organization is hitting the daily API call limit and -in order to optimize our use of Salesforce- I'm trying to understand how Salesforce counts API calls. The count for REST methods is pretty ...
10
votes
1answer
117 views

Is there any API that allows me to check if a Username is in use?

We are creating our own ISV trial provisioning page and using the SignupRequest API to create trials. I can't seem to figure out a way to check for the availability of a username synchronously. ...
1
vote
1answer
24 views

SOAP API username and password

This might seam like a stupid question but I have run out of options. Upon connecting to the SOAP API with SalesForce, I must provide a username and a password. I tried my credentials from the App ...
1
vote
1answer
28 views

Salesforce OAuth 2.0 JWT Bearer Token Flow with PHP

Anyone can help me with JWT Token Flow returning an error of {"error":"invalid_client","error_description":"invalid client credentials"} Why am I getting this error ? I suspect that I uploaded a ...
1
vote
1answer
36 views

Marketing API - get subscribers | unsubscribers | how to subscribe | unsubscribe

I am new to SalesForce and I am having trouble locating the part of the documentation that refers to subscribing/unsubscribing someone via the API. Could someone, Please, point me into the right ...
3
votes
1answer
28 views

How to determine a list of Opportunity fields by API name that are on the page layout?

How to determine a list of Opportunity fields by API name that are on the page layout? For example for the Opportunity Object: I have created a custom field whose API Name is "My_Custom_Field__c" I ...
2
votes
0answers
10 views

Case Closed Layout REST API

Anyone our there know if there is any way of retrieving the Case Closed Layout details using REST APi at all?! My googling skills are not coming up with any trumps here
1
vote
1answer
14 views

Getting System.CalloutException: despite of DML been excecuted after call out, only in prod not in sandbox

I am getting the following error, and I find it pretty odd as 2 days ago I deployed and it worked fine, and my current deployment doesnt have anything to do with the class that is now failing. To make ...
1
vote
1answer
59 views

Concurrent API Request Limits per org or per user

Are the "Concurrent API Request Limits" per org or per user? A production org allows, at the time of writing, 25 concurrent API requests. How do those limits get counted, organization wide or per ...
2
votes
2answers
52 views

Find current API version in Apex

I'd like to get the current API version in Apex. Is this possible without issuing a call to e.g. REST api? I post messages to a streaming channel via:- string uri = ...
-2
votes
1answer
23 views

Calling a variable outside of a function

I'd like to input result value into the email variable. but I can't call the email variable outside of the function. what do I do wrong here? Visualforce.remoting.Manager.invokeAction( ...
1
vote
1answer
93 views

Google sheet update data real time in salesforce?

I have code that calls an API from Salesforce to get data from a Google Spreadsheet. This code runs every hour. Is it possible to hit a url from a Google Spreadsheet whenever the sheet is updated ...
1
vote
0answers
20 views

Log unsubscribe events using FUEL SDK (PHP)

I have been trying to figure out how to log a unsubscribe event using FUEL SDK (PHP) but cant get it to work. I've been trying to use the ET_UnsubEvent object and pass the required properties there ...
-1
votes
1answer
13 views

Task api open activity change status

hi I am beginer with Sales Force . Please dont judge me strictly . I am trying to create trigger for customer object . Initial data: custom object with field: status type pickup list "maintanace ...
0
votes
0answers
7 views

Salesforce server change - tied to refresh token?

We use Salesforce refresh tokens to access the Salesforce API on behalf of our users. To determine the API endpoint URL to access, we'll examine the response received when generating an access token. ...
0
votes
0answers
8 views

nforce push topics some time does not work on production server

I have already asked publish this problem but no one reply me. please give me your expertise to solve this problem. i have a node application with nforce api to sync data from salesforce on real time. ...
1
vote
0answers
33 views

Not able to insert record into a custom object

I am having some difficulty inserting a row into a custom object. I am writing a java application that will insert rows into a custom salesforce object. There is no exception that is thrown, so I ...
3
votes
0answers
12 views

How can we access the Inbox Monitor API function to start receiving reports of the raw data?

We found some documentation within ExactTarget (http://help.exacttarget.com/en/documentation/exacttarget/inbox_tools/) that mentions that an API exists with the Inbox Monitor section (where the inbox ...
1
vote
1answer
28 views

Marketing Cloud API - Replicating Triggered Send Functionality

Scenario: Customer information is imported into the Marketing Cloud daily into a Data Extension. This Data Extension contains is all users who have made a purchase. Added to that, a newsletter signup ...
2
votes
1answer
33 views

API Callout (apex class) from workflow - You have uncommitted work pending,please commit before calling out

I want to make an api call to an external webservice, parse the result and create records with the results. I started by Creating a class to do those steps, called the apex in a workflow providing the ...
0
votes
1answer
41 views

How do I write a AMPscript RetrieveRequest that counts all records and not just 2500?

I need to count all matching records for a RetrieveRequest on the ListSubscribers object via AMPscript on a landing page. I got it to count the first 2500 rows by using this code. How do I get it to ...
0
votes
0answers
20 views

Save Email before sending as PDF

I'm struggling with a requirement where we're sending mail from Salesforce using the sendMail function and the process is they click "send mail to client", the VF page HTML template opens, and they ...
10
votes
1answer
74 views

SOQL: (WHERE x IN(a,b)) does return 2 records, but (WHERE x = a OR x = b) returns only 1 record… Why?

I'm trying to retrieve some ContentVersion records, but I'm having a lot of issues with it. After some research it seems as if the records are divided into two 'sets' as it were, and Salesforce in ...
0
votes
0answers
12 views

Rest api endpoint

Do we need to change salesforce rest api endpoint when my org is split and has got new instance. I am not sure how they build the complete endpount. I use relative url. Is it like salesforce ...
1
vote
1answer
43 views

Rest API with JSON using Integration

I have created 3 classes. APex Class Callout Class JSON Parser Class In that "apex class" I'm calling the JSON class. It shows the error"Invalid type: templateAttributes1" Line number 29. Please ...
1
vote
1answer
12 views

Error: report filters

problem, i try to dynamically filter a report but i get an error. The apex code to set the filter dynamically based on some conditions: filtre ='column:\'account.name\',operator:\'equals\', ...
1
vote
1answer
25 views

LMA: Get a list of all Subscribers with version installed

Is it possible to use some Salesforce API to retrieve list of all subscribers and the version of you managed package installed. For example, there is a SUBSCRIBERS tab in Licence Management ...
0
votes
0answers
115 views

Refresh Filtered Data Extensions automatically

In our system we have a ftp-triggered automation that imports a file into a data extension that is the source for hundreds of filtered data extensions which will be used for sending (and of course ...
3
votes
2answers
71 views

How do I set a boolean value for a custom field? (Java REST)

All, I'm trying to create a Contact via the REST API - that works without issues if I don't include custom boolean fields in the request. However, my Contact object contains a pair of custom boolean ...
0
votes
0answers
32 views

Unauthorized error when sending SMS from Marketing Cloud MobileConnect messageContact API

I am trying to send an SMS to a phone number using an exacttarget messageContact API Post. I successfully get an auth token from my getAuth() call but I still get an 'Unauthorized' error when trying ...
1
vote
1answer
23 views

Enable API for Customer Community user

Is it possible to enable API for a Customer Community user? Use case is to use 3rd part application to enter data into Leads, Accounts etc. I see the enable API in the Customer Community Login user ...