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

learn more… | top users | synonyms

1
vote
0answers
6 views

backbone.js in Salesforce1

I am starting to build some mobile samples in Salesforce1 using backbone.js I came across two js libraries - Backbone.Force https://github.com/pwalczyszyn/Backbone.Force this extends backbone.js ...
0
votes
1answer
15 views

Simple REST API Web Auth

I've been banging my head against the wall with this. I'm ultimately trying to connect to my Developer instance using the REST API, but no amount of gems or writing my own has helped. Now, I'm ...
1
vote
0answers
11 views

Does the REST API Message method support data extension attributes

I have a use case for a transactional message where the web service would like to push information from a purchase order as data attributes not associated to the subscriber profile at time of send ...
1
vote
1answer
21 views

Duplicate field names not yeilding results in Rest API Call from Salesforce to Salesforce

We are trying to view One Salesforce instance results in another Salesforce. We have an API Call Which Works. But when we do a Query like: Select Name, Owner.Name from Account We get the account ...
0
votes
1answer
7 views

Fuel API (Python) Starting an Interaction (Program)

I'm currently in the research phase of which API will suite our needs, one of which is starting a Program (which will likely contain a transfer step, import step, user initiated send step). In a ...
2
votes
1answer
24 views

redirect_uri mismatch

I am implementing an integration that will use the Sales Force REST API. I am following this as reference: ...
0
votes
0answers
22 views

API access security in salesforce

I have batch class which fetch data from API url & insert that data into salesforce. Our other team which is working on API from other side they need to set security so that only our saleforce ...
0
votes
0answers
19 views

Sending binary/blob data from SFDC to external system through Rest?

I have an requirement where I need to send the attachments along with account information in a rest response. I am planning to write a custom REST webservice where I can return account information and ...
0
votes
2answers
30 views

How can I convert a Lead to an Opportunity via the REST API for a Connected App? [duplicate]

I have a connected app, which authenticates with Salesforce using REST API via OAuth. How can I convert a Lead to an Account/Opportunity etc? There was some previous solution mentioning Apex, but this ...
1
vote
2answers
67 views

How to retrieve multiple contacts with single REST call

I am getting 20 contact ID from getUpdated.Now I need information for each of these 20 contacts.It seems costly to request each contact through a REST url.Is there any way how I can query multiple ...
0
votes
1answer
16 views

REST API not enabled for org - whitelisted managed package

We have a managed package in the AppExchange that leverages the SF REST API for data access outside of our users' orgs. Within our managed package is a RestResource class that verifies the user's ...
0
votes
1answer
20 views

How to determine if subscriber is opted in for API triggered email

We are configuring a triggered send in our ET account that will be deployed via an external API. We want to determine if the subscriber is still opted in before we send. How is this possible?
2
votes
0answers
64 views

Invocable Actions / @InvocableMethod / @InvocableVariable

I've been trying to use the new Spring '15 functionality related to Invocable Actions / @InvocableMethod / @InvocableVariable using the current documentation: ...
1
vote
3answers
36 views

How to use the REST API to get array from the Opportunity Object in JSON format from the Opportunity object using SOQL?

I'd just like to get an array of the opportunity data within Salesforce Visualforce so that I can manipulate it in Javascript. Below is the query that I'd like to use to pull in the array: select ...
2
votes
1answer
20 views

Connecting Live Agent to Custom Dashboard

Has anyone had success exporting live queue and agent counts, from Live Agent, to an external dashboard or database? Specifically looking for, "How many agents are logged in to a queue", "How many ...
1
vote
1answer
18 views

If I connect through multiple users to Salesforce Bulk API, what counts toward API limit?

As stated by the title, I'm not sure if, having a connected app, the API limit is reached based on my license or users (they come from different customers, so each user has his own license with his ...
2
votes
1answer
14 views

Burp suite rest webservice callout

We have been asked to do a BURP Scan of our Salesforce app during security review. Our application is built completely on Force.com platform but we have 1-2 REST webservice calls to external server. ...
2
votes
1answer
36 views

contactEvents method returns Internal Server Error

I'd like to use the contactEvents method to insert external Event data into a Data Extension, and fire an Event (which in turn will start a Journey Builder Interaction). Here's what my data ...
1
vote
2answers
44 views

Access the force.com REST API with a pure Javascript page

I want to develop a front-end in Javascript (possibly with one of the fancy frameworks around such as AngularJS) that consumes the REST API of my Salesforce org. I don't want to embed my project in ...
1
vote
3answers
31 views

Converting Date from API response to Salesforce Date

I have a string field in an API response (JSON format) which is meant to be a date. The response field is below: "due":"/Date(1385841600000-0800)/" How can I convert this to an apex date?
1
vote
0answers
22 views

No permissions required to delete an Interaction [closed]

I'm currently testing which app permissions are required (when creating an app in App Center) for using each of the Interaction methods (this isn't documented anywhere — but it would be helpful if it ...
2
votes
1answer
42 views

How to connect to Salesforce REST API without OAuth? How does Jitterbit do it?

So what I read everywhere is that, in order to connect to Salesforce via the API, you'll have to authenticate using OAuth. But this involves creating a Connected App, which is 'cumbersome' for normal ...
2
votes
1answer
57 views

Cannot update Interaction using Fuel REST API

I can't get the putUpdateInteraction method to work as per the documentation. I'm simply just trying to update an Interaction description. Request Here's the request that I'm using: HOST: ...
1
vote
1answer
20 views

Cannot get Interaction using Fuel REST API

The getInteractionById method results in a 404 error when using the documented request: HOST: https://www.exacttargetapis.com GET /interaction/v1/interactions/interactions/{id} Content-Type: ...
3
votes
0answers
32 views

REST API: Customize recipient name when using messageDefinitionSends

I'm attempting to send messages using the REST endpoint: https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends/key:[my_send_key]/send I've set a "Name" property of the "To" element: { ...
3
votes
1answer
40 views

Misbehaving REST API on test.salesforce.com

We have several applications requesting and updating data in Salesforce through the rest api, this is all working fine on login.salesforce.com. we now are continueing development to ...
1
vote
1answer
30 views

Get Interactions REST API method not working

I'm trying to use the documented GET /interactions/rest method to identify available methods from the Interaction Service Discovery Document, but it doesn't seem to work. I get the error: ...
2
votes
1answer
21 views

API access to custom object in managed package

I put a custom object into a managed package, and installed that package into another organization. I can see the custom object in the interface just fine - it shows up under the managed package area, ...
0
votes
1answer
36 views

Ampscript and API

Is it true that only Soap/Web Service API can be used with Ampscript? What about Ampscript and REST API? ...
1
vote
0answers
32 views

Unable to create import definition via REST API using supported FuelSDK ruby client

I'm using the following code to create a list, upload a CSV to FTP and create an import definition.... list = do_add_list "Temp List for #{delivery["message_id"]}" raise Exception.new("Unable ...
1
vote
0answers
30 views

Docusign API - How to Activate “Correction” View of Envelope

Hi I am new to Docusign integration to salesforce. I have to change the status of envelope to "Correction" and I have gone through "POST" method provided in the Docusign RestAPI guide. Doing so, the ...
0
votes
1answer
25 views

Error in creating Endpoint in Rest API

I have created an Endpoint using the @Rest Resource(urlmapping='') followed by apex class having a method as HTTP POST which returns a string when the endpoint is called...i have called this endpoint ...
0
votes
0answers
35 views

Updating the data field tag in Docusign from Salesforce data

Hi I am new to this Docusign API Integration to Salesforce. I have a requirement to update the data field tag in a document by calling the Docusign API from Salesforce after it has been sent for ...
2
votes
1answer
46 views

Organization Namespace using REST API

I am using this query using REST API to get Apex Classes SELECT Id,Name,NamespacePrefix,Status FROM ApexClass. However this returns all my classes as well Manage package classes. How can I Identify ...
1
vote
1answer
30 views

How can I look up a user via their session id?

I have a custom link in Salesforce that passes the session id of the currently logged in user (over HTTPS). I'd like my application to be able to take the session id and look up the username of that ...
4
votes
2answers
90 views

“CERT_UNTRUSTED” error on Salesforce API requests

I'm using nForce with NodeJS on Heroku, and today, out of the blue, we've started getting "CERT_ERROR" back from Salesforce on any request made, even though the authentication is being performed ...
4
votes
2answers
131 views

REST API return dummy data not visible from the web

I'm playing with the REST API using PHP. I have managed to connect successfully and to run some SOQL queries. I want to fetch all the emails of every Contact entity in my instance so I run the ...
1
vote
0answers
42 views

REST API For exact target. Add subscribers to lists

We have a email subscribe form that will add users to Email lists they select in the interface. I am trying to find REST API documentation for Exact Target that will allow us to do the following: 1. ...
0
votes
0answers
29 views

Can an API user be set inactive automatically? API returned “cannot reparent record” for active user

I have a web application that uses the Salesforce API to create Contact, Account, Opportunity records. We set up an administrator user with full permissions to use as the Oauth login user, and I use ...
4
votes
1answer
28 views

API calls to backend from Salesforce flow

I'm trying to figure out how to create RESTful API calls to my backend from inside the Salesforce flow - for example i want to retrieve a field from my backend and then make a decision upon that ...
1
vote
0answers
26 views

Bulk API queue and REST API actions, any way to ensure sequence?

I have an app that perform some bulk operations but also requires real time updates for single records. I was thinking if there is a way to ensure that once the bulk action has been queued, any REST ...
1
vote
1answer
25 views

Do we always need “Consumer Key” for every client for Connected App?

I am trying to import datas to multiple SF clients (all of them are different companies). As soon as I saw on the internet, I can see that client needs to implement a connected app in order to enable ...
3
votes
1answer
63 views

API Calls on Others' Behalf

We have an external application which makes calls through the SOAP/REST APIs. Obviously this is through an Integration App Center account linked to our Exact Target account. How do we go about linking ...
0
votes
1answer
60 views

JSON structure to insert multiple Account records in one REST API call

As per the documentation i understood that we can create account in the following way. Example for creating a new Account curl https://na1.salesforce.com/services/data/v20.0/sobjects/Account/ -H ...
1
vote
1answer
84 views

REST API access always returns invalid access when requesting Access Token

I am developing a C# console application that needs to connect to my company's Salesforce sandbox via the API to pull data. After some searching, I am using the nuget package DeveloperForce.Force to ...
0
votes
1answer
19 views

Salesforce org current datetime via rest api

How can I get salesforce org current datetime via rest api.?
2
votes
1answer
93 views

Salesforce Integration Where to Start

I started my career as a Salesforce Admin/ Developer(Pretty good at Apex/VF/Web development) and I don't have much knowledge on SOAP/REST integrations, I'm not even familiar with the terminology. Can ...
1
vote
1answer
41 views

Column not visible in apex, but is visible from REST

I am using the REST describe endpoint to present users with a list of all fields available to them on the Lead object, and then later attempting to use fields they have selected in a custom Apex ...
0
votes
0answers
26 views

Best way to notify users on Salesforce?

So I have an app/script that does a a bunch of data synchronizations from our own database to a salesforce database. I'm wondering what's the best way to notify users of an event on their salesforce ...
1
vote
1answer
32 views

Tooling API to get the ID of the field

Does the Tooling API count against the Org limit? I have a scenario in which I need to create custom button on related list and by pass record type selection page and re-direct to appropriate Page ...