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

MobileConnect Outbound SMS API not respecting STOP

I've submitted a STOP response to a shared short code using my mobile number. I then attempted to send an Outbound SMS via MobileConnect (to my number and to a colleague). My colleague received the ...
1
vote
0answers
13 views

How do you construct a REST API URI with multiple primary keys?

The documentation for upserting data extension rows by key uses this as an example URI: https://www.exacttargetapis.com/hub/v1/dataevents/key:SomeKey/rows/Email:someone@exacttarget.com. Let's say ...
-2
votes
0answers
11 views

how to update the particular user fields using REST resource? [on hold]

how to get the list of contacts from account in Apex REST resource.Give me one example?
0
votes
0answers
6 views

403 Forbidden error on AWS S3 Rest API PUT request

I am trying do do a PUT Object request to the S3 REST API but I keep getting a 403 Forbidden error. Below is the code where I am setting the signature for AWS: String stringtosign = 'PUT \n\n'; ...
-1
votes
0answers
22 views

Salesforce to JIRA Integration [on hold]

Please let me know ho to Integrate "Salesforce to JIRA". As i am new in the Integration for the same. Whenever new ticket in raised into the SF is assigned to concern team, a JIRA (same ticket) is ...
1
vote
1answer
21 views

Managed Packaged Appication Help (Zap Scanner)

I am doing apex rest callout to third party web service but when I ran zap scanner using SOAP UI, it gave me results which are specific to client side but not on server end like xframe options etc. ...
2
votes
0answers
34 views

Create New ContentFolderMember or ContentFolderLink through SOAP or Rest?

I'm getting errors creating both the ContentFolderMember and the ContentFolderLink objects from the new "Summer of 15" SOAP api. I am a Library Admin and I have been able to create the new ...
3
votes
1answer
22 views

“POST requires content-length error” occur when i am trying to call custom Rest API @HttpDelete Resource

"POST requires content-length error" occur when i am trying to call custom Rest API @HttpDelete Resource .. HttpRequest req1=new HttpRequest(); req1.setMethod('POST'); ...
3
votes
2answers
46 views

Can the API Key on a MobileConnect message be changed?

Any insight would be helpful if this is possible through the UI or through an API call. The purpose of changing this is so that the API key is the same across business units (qa/prod environments) - ...
0
votes
0answers
25 views

Create Public custom settings via REST API

First, is it possible to create a custom object without using Metadata SOAP API ? As per my reading until now it is not possible. I know for a fact, one can create ApexTrigger using REST API. Since I ...
1
vote
1answer
13 views

Could not find a match for URL /ServercCustomRestApi error occur when i am trying to call one Salesforce org custom rest API from another org

Could not find a match for URL /ServercCustomRestApi error occur when i am trying to call one Salesforce org custom rest API from another org.. Salesforce Org "A" having Custom REST API ...
2
votes
2answers
24 views

Accessing salesforce REST-API through greasemonkey script

Is it possible to query salesforce through its REST-API using a greasemonkey/tampermonkey script only ? If yes, can someone give me a hint on howw to achieve that. I have been going through ...
0
votes
0answers
30 views

Upload an Attachment/Document through REST API

I am following the instructions in the below link, but I keep getting the error [{"message":"MediaType of ''multipart/form-data' is not supported by this ...
1
vote
1answer
14 views

How to do programmatic OAuth flow between RestResource and Server Application

I have an external application that has a bunch of information to create new Lead objects. As well I've created a RestResource Apex class that is mapped to URLs on the salesforce instance for my ...
1
vote
3answers
27 views

REST API Version - Where is it defined, what are the consequences for updating?

I've been pinging get requests to the REST API on our instance. For some reason this seems to get set to v26 of the API. I am assuming this version parameter is returned from a setting somewhere in ...
1
vote
0answers
26 views

Getting apex:inputText value into controller [closed]

I have a requirement like getting json from external system.. and i am parsing that data to a wrapper class and displaying it to visual force page... <apex:commandButton value="Patient Edit" ...
1
vote
1answer
16 views

Pulling information from Propertybase.com

I am trying to create a native iOS application that will pull information from propertybase.com which is based on salesforce. I can't seem to find a public access web service or API. Hope someone ...
0
votes
1answer
27 views

Compile Error: Variable does not exist: Name at line 7

I have write classes using rest API.I have paste same code in another org it is working fine. can you please suggest what correction should I do and how? ...
1
vote
0answers
15 views

Object ContentDocumentLink query not working as expected

I am running following query on ContentDocumentLink object using admin token. ...
1
vote
0answers
30 views

ContentDocumentLink to get recently unshared FileIds for Files tab

Whenever a File in files tab is updated (title renamed, description), ContentDocument field 'LastModifiedDate' is updated. For share activity on any file, ContentDocument's field 'LastReferencedDate' ...
3
votes
3answers
421 views

How can data be extracted from this kind of JSON format?

How can "orderDetails" be extracted from the following JSON payload? { "itemId": "111", "count": "20", "bookOrders": [ { "bookName": "book1", ...
2
votes
0answers
46 views

How to pass the parameters from one salesforce org to another salesforce org?

VF Page <apex:page controller="Apex_Rest_DemoController"> <apex:form > <apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton value="Create ...
0
votes
1answer
18 views

How to invoke method of Apex Class using API in .net

I have one Button in Visualforce Page. On click of button one method of apex class is called. I want to call that apex class method from my C# application using API. Is this possible to call apex ...
2
votes
0answers
48 views

Error:java.net.UnknownHostException: login.salesforce.com

package salesforce_rest; import java.io.IOException; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.HttpClient; import org.apache.http.impl.client.HttpClientBuilder; ...
4
votes
2answers
62 views

API exception on constraint

I need to prevent an object from being modified by any user in the salesforce.com website. The only way this object should be modified is through the REST API. We tried creating a constraint but it ...
-1
votes
0answers
16 views

Does Salesforce offer a create API for 'My Unresolved Items'?

I'm trying to create a Task, however, if a Contact or Lead is not found - I would like to post it to the 'My Unresolved Items' section. If so, where do I find that. If not, are there any workarounds?
1
vote
0answers
19 views

Send an email through Salesforce server from External Application

I have an angular application, and wants to send an email to Salesforce contacts from external application through salesforce server. I did not find any api or javascript file which allows me to ...
-1
votes
0answers
15 views

Filter Data for REST API based objects like Campaings and Assets for Fuel SDK

My requirement is to retrieve all the data for Exact Target objects. The fuel sdk and soap api support controlling the number of rows/columns returned using Properties and Filter. Is there a way to ...
1
vote
1answer
28 views

Pagination or Chunking support for Fuel SDK

My requirement is to retrieve all the data for Exact Target objects. The Fuel SDK supports retrieval of data using both REST as well as SOAP apis. The REST api has pagination support so for objects ...
0
votes
0answers
20 views

What API/SDK to use for querying Exact Target data?

I have a requirement to query and extract the Exact Target data in bulk. I want to be able to get this data in chunks for large volumes of data. There is also a requirement to limit the number of rows ...
-1
votes
4answers
72 views

Rest API - SOQL Query : Want to get Only Current user's Record

Rest API - SOQL Query : When I Query i am able to get all user's record instead of mine only. Is there any way to filter for get records of current user only.
0
votes
0answers
17 views

How can I show three levels of children in a custom REST API?

We're building an data inventory system in salesforce and we want to expose the records via a public REST API. I've created an anonymous REST API (no authentication required) and I can expose one ...
0
votes
1answer
71 views

PHP API (SOAP nor REST) Triggered Send Not Working

I've tried this: $url = "https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends/key:ac_alerts/send"; $content = json_encode('"To": {"Address": "example@example.com", "SubscriberKey": ...
2
votes
1answer
46 views

Query the Describe metadata for the Account object

I'm accessing the Salesforce REST API from a Java-based web service and would like to get a list of all fields in the Account table that are marked nillable: false. I know I can make a request like ...
2
votes
1answer
40 views

Bulk data update in Salesforce from External System

I have got a requirement to update 6k records in Salesforce from external system in every 4 hours. Can you please suggest what would be best way for this . 1) Should I use the standard Bulk API ? ...
1
vote
1answer
82 views

how to send multiple parameters to restful webservice [duplicate]

i want to send multiple parameters to restful webservice in salesforce HttpRequest req = new HttpRequest(); req.setHeader('Content-Length', '0'); ...
4
votes
1answer
90 views

gzip Compression not working on custom REST API

We have a custom REST API that doesn't seem to support gzip compression. curl https://mobileteamdeploycommunity.force.com/taroworks/services/data/v33.0/ -H 'Authorization: Bearer xxxxxxxxxxxxxxxxxx' ...
4
votes
1answer
47 views

How do I fetch all the folders in Salesforce using REST API

I need to fetch list of all the folders in Documents section in Salesforce using REST API. Current API gets the information for a particular folder using folderId but I need to fetch all the folders ...
2
votes
1answer
32 views

How can I post a new lead with a fully back end solution?

I'm completely new to Salesforce, but this seems like a normal usage case but I can't seem to understand how this might work by reading their docs. I have a website that has a form that people can ...
4
votes
5answers
288 views

Connecting public website with Salesforce

I have a public website in PHP where users can login, create accounts, update profiles... I need the site to create, read, update and delete data in Salesforce. Leads, contacts and other custom ...
1
vote
1answer
25 views

Is it possible to use messageDefinitionSends for multiple business units with one app?

I have previously created and have been using one app to perform triggered sends with messageDefinitionSends. I now have the additional requirement of creating more sends that are defined under ...
0
votes
0answers
23 views

Issues on integrating with Salesforce Site

Our implementation includes integration from an external server which tries to make a HTTPs request to a Visualforce page hosted on a site in salesforce.This requests includes certain header ...
3
votes
1answer
81 views

System.JSONException: Apex Type unsupported in JSON: Object

I was trying to parse json to apex but i was getting System.JSONException: Apex Type unsupported in JSON: Object My apex code was public class patdetils77 { //public String strBody{ get; ...
1
vote
1answer
48 views

Deserialize JSON to Map - EchoSign REST API response help

I am making a call to the EchoSign REST API and I need to get the signing URL of the most recently signed document using an EchoSign query. I am using the following: HttpRequest req = new ...
3
votes
0answers
52 views

ValidationRule queried via REST API returns Deleted objects VR too and that results in error with GACK?

When I try to query ValidationRule via REST (Tooling) API it's returning weird error: Query used: ...
0
votes
1answer
72 views

ExactTarget (Marketing Cloud) Get Message Rest API call returning 500

I am attempting to retrieve all messages from our ExactTarget instance for an ETL. I am following the documentation from ExactTarget's code@ site. However the calls are returning a 500 Internal Server ...
2
votes
1answer
89 views

Update Opportunity Using rest API; Error : 400 bad request in response

Example for creating Opportunity : curl https://na1.salesforce.com/services/data/v20.0/sobjects/Opportunity/0AASSFGSEID -H "Authorization: Bearer token" -H "Content-Type: application/json" -d ...
1
vote
0answers
14 views

Remove Test Sends from Send Summary API response

Using FuelSDK-Python to return a 'Send' api object type, doesn't provide me with any attribute to distinguish 'Test Sends' from others. In looking through the wsdl, I don't see any attribute which ...
0
votes
0answers
28 views

Restforce using wrong OAuth base URL during reauthentication?

I'm using Restforce to authorize via OAuth2 in a Rails app. After the oauth_token expires, when creating a new Restforce client, during the attempt to re-authorize via Restforce's authenticate!, it ...
3
votes
1answer
25 views

Issue while firing an event using ContactEvents method in Journey builder

I am trying a simple example of firing an event using Rest API in journey builder.Followed exactly the same steps as were mentioned in the link below. ...