The REST API provides a powerful, convenient, and simple Web services API for interacting with Force.com.

learn more… | top users | synonyms

0
votes
1answer
31 views

SalesForce Parent to Child Lookup Relationship

Alright guys and gals I really need some help here. I am learning to interact with SalesForce via CURL/PHP and their API's. I have gotten to know the SOQL language pretty ok and feel comfortable with ...
1
vote
1answer
27 views

Download files from google drive using REST API

Currently I'm working on Google Drive integration with Salesforce. I was able to connect to Google Drive and retrieve a list of file information. now I need to download some files from Google Drive. ...
0
votes
1answer
21 views

Username-Password OAuth Authentication is working with the community users?

I need to configure Username-Password OAuth Authentication to get salesforce data with the REST API through a community users. Is is possible to do that?
3
votes
2answers
36 views

Design patterns for using external apis like google drive or Facebook

I am trying to implement a solution to integrate salesforce with Google Drive or Dropbox. The question that i have is: Does someone have a tried and tested design pattern for using externals API's ...
0
votes
1answer
26 views

Expose Site context via REST with Community Guest User Access

Having a community site and planning to build mobile apps. Is it possible to have the guest user authentication from a mobile client? Below are the concern. Community user registration need to be ...
0
votes
1answer
16 views

Autocomplete javascript/jquery on a standard page layout

This is my situation: I'm triying to create an autocomplete function with javascript or jquery in the contact's page layout. The idea is to autocomplete the post code and state according to what ...
0
votes
0answers
6 views

Salesforce rest api with Silverlight 5

I want to use salesforce rest api with Silverlight application. But I am getting security error. Is there any way to allow and configure ClientAccessPolicy for salesforce rest api service.
0
votes
0answers
16 views

Connect two salesforce Personal Org [duplicate]

Can someone guide me how i can connect two salesforce personal Org using REST Services. Basically I have very little idea about Web Services. But i want to integrate two Org using REST web service. ...
1
vote
1answer
56 views

REST & Stripe API

I'm trying to integrate Salesforce and Stripe using Cirrus Path's Stripe SDK (https://github.com/cirruspath/stripeforce). I've successfully installed all of the Apex classes and other elements of ...
1
vote
1answer
27 views

Session expired Authentication Problem

When I use the command curl https://(instance).salesforce.com/services/data/v26.0/sobjects/ -H "Authorization:Bearer ############" I get the following returned: [{"message":"Session expired or ...
0
votes
1answer
21 views

Timezone and REST API

In sales cloud, if I am running the same SOQL query with a "WHERE systemmodstamp > X" against the REST API under the context of two different users, one user is set to GMT, another pacific time, would ...
2
votes
0answers
11 views

Callout loop not allowed error while calling external service from an apex rest resource - SKUID

I want to fetch VIN details from an external webservice by callouts, this should be fired from SKUID page once user given input on the required field. From Skuid i am calling apex class which is ...
0
votes
0answers
24 views

Getting weird HTTP Response

I am trying to integrate two SF dev boxes. I have created connected app/remote site settings etc..and now I am at the stage where I am issuing a HTTP request from my Source SF org to Target SF org. ...
0
votes
0answers
20 views

Communities REST API 'bug'?

I'm building a native mobile app that makes heavy use of the Salesforce APIs, and it uses Salesforce Communities for login/oauth. Internal uses can login to the community URL (by clicking the ...
1
vote
2answers
45 views

Guide Template Language to provide dynamic links via href attribute

I'm trying to use the Guide Template Language to provide a dynamic link in a triggered send, something like this: <a href="{{My_Url}}">{{My Url}}</a> or <a href="{{My_Url}}">Your ...
3
votes
1answer
29 views

Salesforce Poller

Is it possible to receive near real time records (can consider 1 min old records as near real time) using getUpdated & getDeleted. I don't want to use Streaming API. I have done some test the ...
0
votes
2answers
31 views

REST Class with Nested Wrapper Class

I have to create Account/Contact in a single HTTPPOST call using REST API. I am trying to create below class but it does not allow me to save. @RestResource(urlMapping='/CreateCustomer/*') global ...
2
votes
1answer
32 views

Twilio/Apex: receiving messages through a controller

I'm totally stuck trying to receive SMSs from Twilio into SF. I can send out fine. This is what I've got so far, and all it returns is an invalid_session_id error. ...
0
votes
0answers
17 views

Calling a salesforce webservice from visual studio

I want to call a salesforce REST webservice using visual studio and SQL CLR. How do I go about this? Are there any materials which I refer to for this? What are the headers I need to pass to ...
1
vote
1answer
22 views

How can different apps in SalesForce communicate with eachother? API? REST?

We have a customer which installed our app and another company's app. Both apps are (ISV) SalesForce apps. The customer asked that we will do some integration between our apps, and I wonder what is ...
1
vote
1answer
21 views

Chatter REST body for leaving a group

Anyone have an example of how to leave a chatter group via the REST API? I can successfully join a chatter group via the api with the example below, but I see no documentation on the body of the POST ...
0
votes
0answers
12 views

Public and Private key Encryption in ANT

We need a solution for storing salesforce object's data as flat files in a S FTP folder as .csv files. But salesforce is not supporting to send files to S FTP/FTP. So we are trying to build a solution ...
0
votes
0answers
22 views

500 error code return

when we are trying to create a task from a case using end user's profile we are getting the error like 500 status code return from request and therefore we could not create task. Possibly, this is ...
0
votes
0answers
18 views

Does Salesforce Reporting REST API support standard reports?

Is it possible to access the reports under standard report folders using REST api in salesforce. The request url /services/data/v34.0/query/?q=Select+Id,Name+From+Folder+where+Type+=+'Report' returns ...
1
vote
1answer
36 views

How to insert the values from REST

VF Page Screenshot This is my VF Page <apex:page controller="cntrycontroller" > <apex:form > <apex:outputText >Enter a 2 digit country : </apex:outputText> <p/> ...
0
votes
0answers
16 views

Arbitrary size list as substitution attributes with Fuel API Triggered Send

As I understand, substitution strings in a triggered email are required to be tied to an attribute in the Subscriber Profile or in a Data Extention. How does one implement a dynamic list of ...
3
votes
2answers
44 views

Salesforce REST API with PHP, INVALID_SESSION_ID after successful authentication

I connected my web app to salesforce and successfully followed all the steps in the web server OAuth flow to get an access_token and related info: ...
0
votes
0answers
15 views

Consume REST Service SaleForce Outbound Message

Hi I am sending my data to my endpoint url via this apex class, I have written a trigger on update in account. How will i consume it on my end ? Is there some example where i can make a rest service ...
0
votes
1answer
19 views

Uploading multiple files using REST API of Chatter.

I am trying to upload multiple files using Chatter REST API. I was previously able to upload a file. Now I have to upload multiple files. I got these file names and parameter names in array, as stated ...
0
votes
0answers
15 views

Changing auth token mid to a child bu

I am building an app for a customer who has many BUs in their E2.0 account. Since many APIs only allow the MID/EID combo set via the auth token, I need to know how I can change these values ...
1
vote
1answer
37 views

Error: calling a salesforce webservice using an external tool [closed]

I need to call a REST web service in salesforce from an external tool. I used a chrome add-on Rest client to call the web service in salesforce. But I am getting the following error: [ { ...
2
votes
3answers
38 views

How to insert a Lead via Web-hook

I want to know the process of how we can insert Lead/Account/Opportunity via webhook i.e giving the URL to thirdparty application and third party will take care of rest to insert the data. Thanks in ...
6
votes
2answers
55 views

How to prevent UNABLE_TO_LOCK_ROW via the REST API?

I have an app that uses the restforce gem to make queries against Salesforce. I ran into an issue with locked rows (UNABLE_TO_LOCK_ROW error), so now I would like to select Contacts, Leads, ...
1
vote
0answers
22 views

Invalid Query Locator in REST API

When making a REST API query call from a Java client I'm getting an INVALID_QUERY_LOCATOR error. I'm familiar with the limitation around 10 query locators in the same time and in my code I'm avoiding ...
0
votes
0answers
28 views

Fire Trigger using Rest API

We are working on a project which uses Salesforce Mobile SDK (Android) as part of our solution. There are some logics in some triggers but it seems that when we save an object, the trigger is ...
2
votes
2answers
88 views

How do get Company/Work profile through Salesforce API?

How do get Company/Work profile of Login User through Salesforce API ? I get below response for user profile, but It does not include work/company profile in the response. { "id": ...
1
vote
1answer
51 views

Custom APEX Rest API - using other REST response in this response

I'm working on a project building an APEX REST API that would benefit by understanding the page layout for the user/record to decide on the response. It will feed a mobile app, and so I'm trying to ...
0
votes
1answer
21 views

How to Query for information from Opportunity Trends Report?

I'd like to query Salesforce with an SOQL query that can attain the 'Historical Amount' as of a given date in the same way that we can attain this information from an Opportunity Trends Report. ...
0
votes
0answers
26 views

Get record count using restforce

I am getting this result when i run the query: Restforce::Collection:0x007fb15c292010 How can I get the record count instead of this result? SCHEDULER.every '2m' do |job| synergy = results results ...
1
vote
1answer
36 views

How to get the content of a chatter file using API

I am integrating my SF org with an external mobile app. I have a file uploaded to the chatter feed of each contact (the picture of the contact). This app needs to get the picture to display in the ...
6
votes
1answer
89 views

Apex REST API to return a Map of Maps?

I'm developing a custom apex REST API and running into an issue annotating my getAppDefaults method with @HttpGet. When I remove the annotation and run a test class against the getAppDefaults method, ...
3
votes
1answer
52 views

Multiple public RESTful Web services

I need to set up multiple public RESTful web services as explained here. However, I cannot get the rest services to work unless I leave the Default Web Address option blank. I would like to have these ...
1
vote
2answers
34 views

How to create Sessions in salesforce? Does Salesforce allows to make Sessions?

I want to integrate Salesforce with some website from which I want to get some data. According to that website API, we have to create Sessions and then other working. I have searched for sessions in ...
0
votes
2answers
62 views

SalesForce. Inserting New Records in Account and Syncing them to External DB

Pls Check Update in question for answer I am a newbie to salesforce. After few hours of researching I am able to figure out how can I do basic CRUD Options via rest Services. Now I am Stuck at how ...
1
vote
1answer
36 views

How can I create an Account Note or Contact Note via API that is visible in Salesforce UI?

I am using the python simple-salesforce library. Steps to reproduce. Create an Account: sf.Account.create({'Name':'Testy Account','AccountNumber':'123456'}) Query the Id of your new Account: ...
1
vote
2answers
55 views

How can I identify API calls from a specific application?

We use a single Salesforce account as our API/integration account. As an example, we have 3 web applications that make REST API calls to Salesforce using this single account. I would like to have ...
3
votes
0answers
33 views

Performance issue when offset used in SAQL

I am using the endpoint data/v35.0/wave/query to execute a SAQL query. When I execute the below SAQL which does not contain offset, I am getting the response approzimately in 1 secs load ...
0
votes
1answer
25 views

Subscriber Lists: Best Practices for multiple environments

Is there a best practice or a guideline on how to set up subscriber lists in our ET instance to support API integration with multiple environments? We have multiple environments (prod, stage / dev) ...
1
vote
1answer
79 views

Rest API (POST method) with Jquery

So I am using Jquery Ajax with rest API trying to create Account Record using POST method but getting error <apex:page> <script ...
3
votes
0answers
20 views

Using OAuth 1.0 encoded requests for external web service calls Error: signature_invalid

Please help me. I have a salesforce requirement that necessitates a callout from Apex to an external web service that receives signed OAuth responses. I am getting oAuth_token successfully. But ...