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

learn more… | top users | synonyms

0
votes
2answers
13 views

How to extract all Chatter messages of a user in Apex

I want to do some language analysis based on Chatter messages and never manipulated Chatter with Apex code before. How would I get all the Chatter message text of a certain user? Would I need to ...
0
votes
0answers
11 views

emailSimple REST action

I'm trying to invoke an action through the Force.com REST API but I haven't been able to figure out the correct syntax of the request body. I looked for an example of this command but didn't see any. ...
2
votes
0answers
16 views

How to make the WhoId on an Event take me to the member and not the lead/contact object

I have an application that dynamically handles CRUD operations for Salesforce data. For foreign key values on an object, I read the first three letters of the ID to determine the object type being ...
1
vote
1answer
40 views

REST API calls to 3rd Party (Pardot), multiple @future callouts

Setup: Pardot (3rd Party services I'm using) requires you to request an API_Key by submitting your email, password, and user_key so that you can then use the api_key with the user_key to do any API ...
5
votes
1answer
26 views

REST API - Sforce-Limit-Info header not returned

I'm using SFDC's REST API to access org data. According to the docs (https://www.salesforce.com/us/developer/docs/api_rest/Content/headers_api_usage.htm), each request to the REST API should return a ...
3
votes
1answer
53 views

API calls and user context

Overview: Mobile device (call service on ESB) —> ESB (calls salesforce API to get data) —> Salesforce.Mobile devices and Salesforce supported by the same IdM system. Description: A custom API ...
1
vote
1answer
31 views

OAuth JWT Token Bearer Flow returns Invalid Client Credentials

I am trying to use OAuth JWT Token Bearer Flow to connect to the Salesforce REST API from C#. I have configured a Connected App within Salesforce and uploaded the certificate used to sign the token ...
0
votes
1answer
16 views

How to get case information?

I am beginner to SFDC programming and wanted to get some information about whether that case exists or not. something like that. I am connecting my .NET application to SFDC and trying to get case ...
1
vote
1answer
17 views

Issue for Create trigger send for cloud portals

Failed to start the selected triggered send(s): A problem occurred Starting the following Triggered Sends. Please contact Customer Service for additional information.Name : NewTestDemo\ External Key : ...
0
votes
1answer
29 views

How can I get a metadata from APEX RESTful service?

I'm a front-end developer and my knowledge is little bit in Salesforce. I'm developing single-page application in AngularJS to Visual Salesforce and faced a problem with an error: ...
1
vote
0answers
19 views

Possibility of mass update using Salesforce Rest api

Is there any way by which we can update and insert records using rest api of salesforce in apex , if not how to do it with bulk api in apex . As object DatedConversionRate do not supports DML for ACM
0
votes
0answers
26 views

How to set the Authorization Header

Can anyone tell me how to set the Authorization Header in Apex callout? I get the Error message "Unknown authorization header" when connect to Linked in.. My authorization header as follows ...
0
votes
0answers
20 views

Can you please advise on REST API best practices in terms of batching the amount of rows per call, when adding to a data extension?

Can you please advise on REST API best practices in terms of batching the amount of rows per call, when adding to a data extension? One of our clients tried inserting data in batches of 50 records as ...
0
votes
0answers
16 views

How to get OAuth Signature [closed]

Can anyone tell me how to get the OAuth signature in LinkedIn? I get the error message like"Unknown authorization header" while running the below code String oauth_consumer_key='75zstfcpm7mgx6'; ...
0
votes
0answers
23 views

How to fix the 403 error [closed]

Can anyone tell me how to fix the following error? I wanna post the job from salesforce to linkedIn . I get the error message like responseBody: <?xml version="1.0" encoding="UTF-8" ...
1
vote
0answers
22 views

How to Create Attribute Groups in Salesforce Marketing Cloud Contact Builder using the API

Is it possible to create an Attribute Group in Contact Builder, simliar how you can create Journey Builder Interaction Workflows? I can't find a RESTful method to do this. It would be great if this is ...
1
vote
0answers
33 views

Can I get a Lead View to show converted Leads?

I am using apex code to give me all of the leads in a lead view like this: Database.QueryLocator ql = Database.getQueryLocator('select Id from Lead limit 1'); ApexPages.StandardSetController ...
0
votes
1answer
43 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 ...
2
votes
1answer
39 views

salesforce mobile sdk access to UserInfo class

I have created a mobile app in Android and iOS using the Salesforce SDK. I want to add functionality of multi currency by using isMultiCurrencyOrganization() method from the UserInfo class. Now I am ...
0
votes
0answers
52 views

salesforce integration with java using REST API

help me out to go forward in salesforce integration with java using REST API. These are the steps i came across and unable to find the way. Post a request to login.salesforce.com through REST ...
0
votes
0answers
23 views

Library to convert SF Fields into HTML input fields

Does anyone know of a library that converts SF fields into HTML elements? I want to build an HTML form for Contacts but I'd like to do it more dynamically. I'm iterating over all of the fields ...
2
votes
1answer
38 views

Tackle Callout Limit Salesforce

I am creating an managed application for salesforce appexchange listing. App Functionality: On certain update events a trigger will send a few non-critical information to a external server ...
8
votes
2answers
42 views

Query Remote Site Setting?

Can we get all remote site settings in apex ? I would like to check if a remote site setting exists or not.
1
vote
2answers
51 views

JSforce authentication popup dialog issue

So I am working with JSforce lib and I am loging into SFDC by using this code which works perfectly but the problem is when the popup opens and get the access token in the URL nothing happens next the ...
3
votes
1answer
64 views

Is it possible to get record data and SObject metadata in a single API call?

We're trying to handle custom fields for things like Tasks. Is there any best practice for doing things dynamically? We've made a webapp that lets users from various organizations connect. So it's not ...
1
vote
1answer
61 views

Rest Request to insert/update record in external system

I have to integrate SFDC with an external system where I have to insert/update a custom object record. External system team is asking to send a REST request to update/insert the record. I don't know ...
2
votes
1answer
47 views

Session ID invalid when Schedulable class runs

I have written the code below to call a future method from a scheduled class. The problem is that the session Id is expiring by the time the scheduled class runs and hence the future method is never ...
3
votes
1answer
79 views

Using the REST api to retrieve multiple objects with a single request

I'm trying to figure out how to best retrieve all of the ids returned by calling getUpdated. I'm using the REST API and I don't see anyway of retrieving a list of ids with a single request. ...
0
votes
0answers
21 views

Certificate Error with Rest API : PKIX path building failed

I am getting this error "PKIX path building failed " when i make Rest call to web-service. Earlier it was working fine, but recently some certificate expired from web-service side and this ...
2
votes
1answer
35 views

How do I get the actual image data from servlet.FileDownload?

I'm using the rest api to query the data from an account: Account/001234abcde and images attached to the account are stored like this: ...
0
votes
2answers
22 views

Shows Custom tab in salesforce account that data sent from custom portal in Salesforce

We have an application, where user can login with Salesforce Account. and logging user can send the messages/greetings to his contacts. I want to display those sent messages/greetings in his ...
1
vote
0answers
25 views

fields required to create a task through Rest API in native android app

I am getting error 405 when trying to create a new task through the rest api in a native android app see 405 Error when Trying to Create Task through Rest API Now I am guessing it might depends on ...
1
vote
0answers
55 views

405 Error when Trying to Create Task through Rest API

I am trying to create a Task object through a RestRequest in a Native Android App (RestRequest.getRequestForCreate). The Problem is that I am getting 405 error Method Not Allowed What am I doing ...
1
vote
2answers
69 views

ExactTarget: Common data loading strategies?

Dear ExactTarget specialists, I am trying to get a hang of how the ExactTarget Marketing Cloud works, and I am struggling in finding information on a seemingly basic task: Loading data into the ...
2
votes
2answers
43 views

Getting an object's fieldsets returns lowercased API names

Map<String, Schema.fieldset> fieldMap = Schema.SObjectType.Object_Name.fieldSets.getMap(); this properly returns a map of the fieldsets paired with their API names but the names come in all ...
0
votes
1answer
30 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
3answers
60 views

Json response getting truncated when getting from Salesforce

I am facing a peculiar problem where, I am querying an external webservice using HTTP Rest APIs, and getting a Json response. Now the problem is when the response payload is large, a chunk of data is ...
3
votes
1answer
47 views

How to get the information of a user who deleted an object?

Salesforce REST API supports the getdeleted endpoints to furnish a list of deleted records for an SObject. The response from the API looks like this { "deletedRecords" : [ { "id" : ...
3
votes
0answers
34 views

Send PDF from Salesforce to EchoSign through Apex REST and EchoSign REST API?

How to send PDF generated from VF page to EchoSign through Apex Code and REST API of EchoSign? I'm getting error as "Content Type not Supported/ UNSUPPORTED_MEDIA_TYPE". Any idea? String ...
1
vote
1answer
27 views

RequestForUpdate always returns 400

I am trying to update a Task through this code in a native android app Map<String,Object> fields = new HashMap<String,Object>(); String id = "00Tw000001wvUCVEA2"; ...
0
votes
1answer
15 views

Updating Task in Native Mobile Applications

I am using this code to update a task through a RequestForUpdate in an Android Native App The onSuccess method is executed but It seems the field is not updated. Why? ...
1
vote
1answer
50 views

Heap Size Limit in Salesforce

We have a mobile application which works with Salesforce. We want to support offline mode for this mobile application. For that when we are loading the application, we need to store all data in ...
2
votes
1answer
35 views

How to get recentlyviewed objects for all users?

Salesforce REST APIs support endpoints for getting updated, deleted and recentlyviewed objects. I am interested in getting the recentlyviewed items. This endpoint returns data of the form { ...
2
votes
2answers
99 views

Why does a query to the REST API return only one FeedItem at a time?

My query is: SELECT Id,ParentId,Type,CreatedById,CreatedDate,IsDeleted,LastModifiedDate, SystemModstamp,CommentCount,LikeCount,Title,Body,LinkUrl,RelatedRecordId,ContentData, ...
0
votes
0answers
15 views

Advertise in job boards from salesforce

Can anyone tell me how to advertise in job boards from salesforce? Is there any free recruitment api for job boards?? Like Monster.co.uk,Jobsite.co.uk and etc I wanna advertise in anyone of the job ...
1
vote
1answer
48 views

“The requested resource does not exist” - simple GET query

I've created an account. How to get access to its data via REST? For example for the database or my custom objects? Also I don't understand why when I do request with this query SELECT Name, Id, ...
2
votes
1answer
79 views

get the list of contacts associated with account

I'm trying to get list of contacts associated with an account using REST. I've created Connected app using tutorial ...
0
votes
1answer
63 views

How do you convert a Lead via the REST API?

Am a bit new to Salesforce, integrating with our existing systems which uses Python, so I'm making use of the simple_salesforce module. It's working great, except I cannot figure out how you convert a ...
0
votes
1answer
46 views

unexpected response 404 on getRequestForSearch

I am developing a native android app using the mobile sdk. I am trying to make a search query like this RestRequest req = RestRequest.getRequestForSearch("v20.0", "Find '"+searchString+"*' IN ALL ...
2
votes
0answers
41 views

Converted lead results in 'ConvertedAccountId' being NULL?

I am responsible for an integration with our customer's Salesforce systems using the REST API. I have been operating under the assumption that whenever a Lead is converted, then it will have the ...