The REST API provides a powerful, convenient, and simple Web services API for interacting with Force.com.
0
votes
0answers
7 views
Issue whie generating auth signature in salesforce
I am facing an issue while generation Auth signature in salesforce. I tried to test the API from Postman and it works well with key and token. Even when I change the Authorization Header in Apex to ...
0
votes
1answer
13 views
Facebook Integration Scope Permission
Scopes required :- manage_pages & publish_pages
Review required.
Tried Twice thrice uploaded screen cast and wrote steps.
Submitted for review.
Every time rejected. I don't have permission to ...
1
vote
2answers
19 views
Updating an Account with Current Timestamp
I have created several custom fields for our Accounts in Salesforce. One is called "Date and Time Latest Login". Each Account also has an ID (in Salesforce) and an "External ID" which references our ...
0
votes
1answer
45 views
Creating triggered send without a data extension
Theoretically it should be possible to create a Triggered Send without an underlying Triggered Send Data Extension. The JSON passed to messageDefinitionSends REST call should still be available to the ...
0
votes
0answers
30 views
API to retrieve subscribers with statistics from journey in Marketing Cloud (former ExactTarget)
Just duplicating my question from there:
We have following task: In the Marketing Cloud there are few journeys created by Journey Builder. They all are assigned to different Data Extensions via Event ...
0
votes
1answer
9 views
Salesforce Order Activated
Is there a way to activate an order, using the REST API? I tried to send activated as the status when I create the order. Salesforce said it was an invalid status.
0
votes
1answer
32 views
Passing multiple values in the same field through API call
I am passing one or more than one product through API call ([https://www.exacttargetapis.com/interaction/v1/events][1]) in the same Data Extension's field (using ~ tilde as separator).
This is the ...
0
votes
1answer
28 views
How to Share post from salesforce to facebook on own timeline Using Graph API call without using force.com tool kit?
New to Integrate Facebook as well as Visualforce and Apex.
Followed Steps :
Developer account in Facebook. created public app with proper settings
Scopes :- email , public_profile ,user_friends (...
0
votes
0answers
16 views
Salesforce Live Agent Rest API with curl php
Sending a Chat Request using php curl.
All my code work fine but salesforce agent didn't get chat request when ever I run the code.
I am following this :
https://help.salesforce.com/apex/...
0
votes
0answers
6 views
Sending Content Builder templates/emails via the SOAP API
We are wanting to switch our organisation to Content Builder rather than stick with classic tools, and at the same time base the emails we send off a template editable via the UI, rather than a HTML ...
0
votes
1answer
12 views
calling Salesforce REST API from Webpage
How to do I call sales force REST API from external webportal.
What steps I need to do for authentication of the external URL in sales force
0
votes
1answer
12 views
HTTP 400 Bad Request trying to create a bulk API job using RestTemplate
Am trying to use spring RestTemplate to create a bulk API job. Below is the code
HttpHeaders headers= new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON);
headers.add("sforce-enable-...
0
votes
1answer
13 views
How to retrieve Solutions attached to a case via the REST API
I am currently building an external application that utilises SalesForce's REST APIs and have it complete except that I need to be able to display the solutions attached to a case.
I can attach a ...
1
vote
1answer
27 views
Getting - First error: Too many future calls: 1
We are trying to track a field change on a record of a managed package object, based on this we are calling out one of our downstream application with rest call.
Step 1- A Managed package batch job ...
0
votes
0answers
28 views
An internal server error has occurred in salesforce
Getting Error :- "An internal server error has occurred"
I am tring to integrate Facebook and salesforce. I got Access token and i was tring to send GET request to Facebook Graph API as below.
...
0
votes
0answers
29 views
Rest API Test Class
I have been looking at some material in relation to Rest API test classes but I am getting a bit lost/confused. Can some one help me with the following?
I have a class that looks something like this:...
0
votes
0answers
13 views
Delete Marketing Cloud contact using REST
I'm using these two endpoints for deleting my contact in Marketing Cloud (ExactTarget) but neither works.
https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/...
3
votes
1answer
88 views
Accessing Salesforce Developer Edition through API
I want to use our Salesforce Developer Edition and access our data through the API. I have setup an additional user (User License: Salesforce Platform License, Profile: Standard Platform User) to use ...
0
votes
2answers
25 views
How to Get Updated Fields Using Simple-Salesforce
I am trying to get only the updated fields data in a record using simple-salesforce.
With the SObject Get Updated API, I can only get a list of record ids which get updated in a given time period, ...
0
votes
0answers
20 views
How to get list of categories via ContentBuilder API [closed]
In the marketing cloud REST API, is there is a way to get a collection of categories (categories are an entity name for folders) for REST clients to use? I want to get all the categories available for ...
1
vote
1answer
36 views
How to query by asset type in Content Builder Api
I want to get assets filtered by assetType using request like this:
POST /asset/v1/content/assets/query
"query":
{
"property":"assetType:id",
"simpleOperator":"equals",
"...
0
votes
1answer
28 views
Sample data of salesforce for an trial user
I want to create some Reports and Dashboards using salesforce data. For that, I need to log in to salesforce. But, I want to create some sample reports using salesforce sample data first. And then I ...
1
vote
1answer
30 views
Marketing Cloud - Multiple queries targeting the same data extension
It's a little disappointing that there is no way to track the status of a query, I guess there is a SOAP API for that but I am a REST/python guy.
What happens when I start a query that overwrites a ...
0
votes
0answers
24 views
How do I download a file from chatter in visualforce page?
I am new to Salesforce. I have a large xml file in Chatter/Files that I need to download and process on the client. How can I get the file? I am able to get static resources via ajax, but this file is ...
2
votes
1answer
26 views
Can a Callback URL contain wildcards?
I am trying to get a connected app setup to authorize with Salesforce. Our app has a different subdomain for every client so we wouldn't be able to use www.domain.com/callback. What I'd like to be ...
0
votes
1answer
18 views
Entering an image URL into a rich text area field from an API response
I am getting a URL for an image from an API call that I am assigning to a Rich text area field in Salesforce. The field is being populated with the text of the URL rather than the actaul image.
Is ...
1
vote
1answer
32 views
Using Jquery to perform a composite AJAX request
I have been building an application that utilises Salesforce's REST APIs and have been successful with all API requests except composite, which I keep getting a 404 back on. I have stripped the ...
3
votes
1answer
20 views
How do you retrieve which “Type” each Opportunity StageName value is with the REST API?
I can retrieve Opportunity field metadata, including picklist values, with the REST API like so:
[{"active"=>true, "defaultValue"=>false, "label"=>"Prospecting", "validFor"=>nil, "value"=&...
0
votes
0answers
21 views
SOQL on ContentVersion results in 'invalid parameter value'
I am writing a query to upload the contentversions which are not present in my Organization. For this, I am checking the presence of contentversion if it exists or not. This hit a snag where the query:...
1
vote
0answers
13 views
Error when calling Create Contact in the Exact Target rest api
I'm having trouble creating a new contact with the Exact Target rest api
https://www.exacttargetapis.com/contacts/v1/contacts
When posting the following json object to the api
{
"contactKey":"...
0
votes
1answer
17 views
Ways to implement an own registration process
I want to start a project and first I check the technical feasibility. I want to implement a login area. There a lot of people can registrate and have the possiblity to work with an interactive ...
0
votes
1answer
14 views
record is read only : I am facing error while i am add the rest api response and update contarct though apex trigger
trigger RestAPIcalloutTrigger on Contract (after insert, after Update) {
APIResponseCaseData APIRes = New APIResponseCaseData();
List<Contract> conList = [SELECT Id, BCR_Case_Id__c FROM ...
0
votes
0answers
13 views
how to send rest response of the Account number of the parent account when we edit the child Account record in salesforce
I was thinking how to acheive this. I have account object with 3 level hierarchy the first Level is Type== Customer second Type==Group third Type==Site all the three record will have their own unique ...
1
vote
2answers
34 views
HTTPPOST request in Salesforce is failing when I run in JDK 7 but works fine in JDK 8
I am receiving a two different response for below HTTPPOST request based on the JDK version. On JDK 1.7 it says BAD Request, I am not able to understand the difference in those two responses. Could ...
0
votes
1answer
18 views
How can I get Opportunity URL?
I'm trying to get some data from salesforce to my Google SpreadSheet with Google Apps Script.
I have such a request
SELECT o.ID, o.Name, a.name, o.Amount, o.StageName, o.CloseDate, o.CreatedDate FROM ...
1
vote
1answer
21 views
Correct way to edit data in other orgs as a Connected App?
I am currently developing a lightning application that requires some data be synced when the user is not using the application.
To provide an almost real-time experience, I have registered my ...
1
vote
1answer
43 views
C# REST API - Get Dependent Picklist Values
Within one of my Salesforce object, I have cascading picklists where the selection of one picklist displays values for the next level picklist. So I have three dependent picklists.
What I would like ...
4
votes
1answer
41 views
How can I limit REST API response to less than 2000 records?
I have seen several question that ask the opposite, how to overcome that limit. I need smaller response because some downstream issue I have with very long responses. I cannot use the LIMIT clause ...
3
votes
0answers
71 views
How to delete a record from a non-queryable object
I'm trying to delete a record from MobilePushServiceDevice object. This object is not queryable, however, it is deletable.
How can I delete a specific record from this object if I can't query it in ...
0
votes
0answers
25 views
Salesforce To Salesforce : sharing records between Users in different orgs
Would you be able to help me find a way to share opportunity records between users of different organizations? Basically, User1 in org1 should be able to share an( or bulk) opportunity record(s) to ...
1
vote
2answers
36 views
Issue with JSON PARSING on Rest service
I have a rest service which requires a string input and returns a string response. Currently when i test this on workbench, i am getting the following error.
message: Unexpected parameter encountered ...
0
votes
1answer
44 views
Issue with Json parsing using rest api Expected JSON object to deserialize apex parameter from at [line:4, column:7] errorCode: JSON_PARSER_ERROR
``I have a rest service which is reading a json string which is below listed. I am testing this through workbench and i am getting the following error.
Expected JSON object to deserialize apex ...
0
votes
0answers
27 views
Test Apex Class for Google Calendar Batch HTTP Callout Class Mock
Hey I am trying to implement a batch system that sends salesforce events to google calendar's api. I have successfully implemented this process in sandbox but am having trouble getting code coverage.
...
2
votes
1answer
39 views
Wave REST API returns BAD REQUEST ERROR 400
public class SendWaveUsingRESTAPI {
private final String clientId = 'xxxx';
private final String clientSecret = 'xxx';
private final String username = 'xxxxx';
private final String password = '...
6
votes
1answer
33 views
How do I call ForceClient.UserInfo() synchronously
I'm converting the data access layer of an old app from MySql to Salesforce using WinForms, DeveloperForce, Visual Studio 2015, .Net 4.6.1, C#. This is my first real TPL/async/await project.
I'm ...
1
vote
1answer
45 views
Rest API Outh2.0 problem
I am trying to connect org using rest api. I am getting error:[Status=Bad Request, StatusCode=400].I am not getting access token back
Here is my Code:
<apex:page controller="SendWaveUsingRESTAPI"&...
0
votes
1answer
34 views
Rest api response error json
enter image description hereI am connecting wave rest api using Ajax toolkit.I am getting error response like the below image if I pass the SAQL to the Wave REST API:
<apex:page applyHtmlTag="true"...
1
vote
1answer
45 views
REST API Queries
I have written a custom REST service in Salesforce as below:
@RestResource(urlmapping='/MyRestWS/*')
global class CustomRestWS
{
@HttpGet
global static String getName()
{
return ...
1
vote
0answers
33 views
Ajax Toolkit to connect wave rest api
I am trying to connect the wave rest API via AJAX Toolkit.
<apex:page applyHtmlTag="true">
<script src="/soap/ajax/38.0/connection.js" type="text/javascript"></script>
<script ...
3
votes
1answer
50 views
Wait for Future Method execution before doing DML
Scenario : Before inserting a record I will check another System(REST call) and then decide(control) to insert or update in Trigger context.
I have Trigger which does REST call inside future method. ...