Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [api]

An application programming interface (API) is a specification intended to be used as an interface by software components to communicate with each other.

0
votes
0answers
16 views

WSO2ESB salesforce integration [on hold]

I am trying to connect wso2esb tool to salesforce but I can't figure out.How I can overcome this issue? Thanks 2019-01-17 19:30:48,935] INFO - JMSSender JMS Sender started [2019-01-17 19:30:48,936] ...
0
votes
1answer
22 views

Can I query Salesforce Queue and can I do it using the metadata or tooling APIs?

Can I query Salesforce Queue and can I do it using the metadata or tooling APIs? Looking to quickly access this data from Salesforce inspector, also looking to see if there is a way to check if a ...
1
vote
1answer
52 views

How to create a link to an Opportunity that does not specify lightning/non lightning?

I need to create a link to an Opportunity. I get the Opportunity ID from the (REST) API. I see regular links are https://na85.lightning.force.com/lightning/r/Opportunity/xxxxxxxxxxx/view But not ...
0
votes
0answers
39 views

API Version 45 Error

When trying to log into the API Version 45 in Production environment I am receiving the following error. UNKNOWN ERROR: SOAP-ERROR: Parsing WSDL: Couldn't load from 'soapclient/sforce.450.partner....
0
votes
1answer
23 views

Calling SendGrid API from Salesforce Trigger [on hold]

How can I send out bulk emails to our clients from a Salesforce trigger using SendGrid? I have tried sendgrid-apex from https://github.com/sendgrid/sendgrid-apex/issues/12 but that does not seem to ...
0
votes
1answer
16 views

Triggered Send via API sends blank email (no personalization, empty fields)

We're building a Purchase Confirmation email and we can successfully trigger an email, but the personalized content is blank - for example, Order Number, Ship Date, Product Name, etc are all blank. ...
-1
votes
0answers
12 views

Can Marketing Cloud send data via an API call to a third party Vendor? And how is that done? [closed]

I know that thru an API call data can be inserted into a Data Extension in SFMC. But can we send data from SFMC via an API call to a third party vendor? And how is that done.
0
votes
1answer
29 views

Return all SSJS property value pairs for object?

I'm looking for one of two things. A complete reference guide for all SFMC SSJS objects, or A way to return all contents of an object so I can see what I need to use. For an example, I've been ...
2
votes
1answer
43 views

Best way to save a API integration password

I am building an integration between Salesforce and other application with REST API calls. The Salesforce will be consuming data from that other app on in interval. I am writing my code and it is ...
5
votes
2answers
221 views

Is 'id' a reserved keyword in Salesforce?

Had a silly question in my head which I hope that someone can answer. Can we declare id as a variable in Apex? For example: Id id; I tried to declare the same and Salesforce allowed me to save my ...
0
votes
1answer
15 views

How to associate a contact with an opportunity using Restforce or REST API?

I tried submitting a ContactId with the Opportunity, but received ERROR: INVALID_FIELD: No such column 'ContactId' on sobject of type Opportunity Is there any documentation?
0
votes
1answer
20 views

How to give status of triggered send back as reply on api call to landing page?

I have a cloud page that a customer accesses via an api call (do not know what kind). The call holds an email address at a time. The landing page picks up the email address, does some other stuff and ...
3
votes
0answers
43 views

How to efficiently Retrieve Open Event Details or Bounce Event Details given SubscriberKey?

I am trying to get all tracking data events based on the subscriber key (email). Using the Retrieve Sent Event, Retrieve Open Event, and Retrieve Bounce Event pages as a template, I've written some ...
1
vote
2answers
41 views

Dynamic JSON Body in HTTPPost Ampscript

I am trying to set dynamic JSON parameters in an ampscript HTTPPost. When attempting to insert those parameters it only returns the actual ampscript function and not the data that was supposed to be ...
0
votes
1answer
16 views

Token generation for Einstein Sentiment API

I am trying to implement the sentiment api but having issue while generating the access token. I have uploaded einstein_platform.pem file in Files in Salesforce. ContentVersion con = [SELECT Title ...
0
votes
0answers
7 views

Einstein access token generation

I am using below code to generate the access token for sentiment api on einstein platform. But everytime I am getting value null. ContentVersion con = [SELECT Title ,VersionData ...
0
votes
1answer
34 views

API From Mobile Connect Via Ampscript

I am trying to take all responses from Mobile Connect and dump them into a third party resource for analysis via an ampscript api. I am trying to do this within mobile connect using ampscript but I ...
4
votes
1answer
84 views

API calls to Salesforce from standalone application

We plan to have an application on an internal server that fetches data from one source, manipulates it, sends it to Salesforce using Rest APIs. I have some questions: Do I need to have a connected ...
0
votes
1answer
37 views

Check the username and the password of a community user

I have a community and inside, I have a form to allow to the user to change his password. To do that, the user has to enter his old password, the new password and the confirmation of the new password ...
1
vote
1answer
37 views

Bulk API 2.0 works in sandbox but broken in production

I'm trying to bulk import Task records using the Bulk API 2.0, which works perfectly fine in the sandbox, but fails with this error every time when I try to create the job in production: [{"errorCode"...
0
votes
0answers
46 views

Get Access Token

I need to get access token for use it in API, below is example of my request curl -X POST -H "Content-Type: application/json" https://auth.exacttargetapis.com/v1/requestToken -d "{\"clientId\": \"...
0
votes
0answers
13 views

How to set checkbox value in a Quip sheet

When I retrieve Quip sheet data via API, all checkboxes come as unicode chars ☑ and ☐ so I can understand whether it is marked or not. However, if I try to update Quip sheet using one of these values, ...
2
votes
3answers
65 views

Calling a rest API from one Org to another Org?

I have created Connected App & Auth Provider. This is the Code i am currently running. Getting error. What I am doing wrong? Can anyone please help me with this? 1st Org - (Class ...
1
vote
1answer
30 views

Do we have an option to create UnManaged package using any Salesforce API call?

I want to create an unmanaged package using API call, is it possible? Is yes, please suggest the approach. Our expectation is to create a unmanaged package in a salesforce org and add the metadata ...
0
votes
1answer
20 views

Salesforce Standard API - Composite Tree resource

In order to create record in bulk using REST API, we using Composite Tree resource. I'm trying to upload a bulk of content versions : {"records" :[ { "attributes" : {"type" : "ContentVersion", "...
2
votes
1answer
175 views

sfdx force:mdapi:retrieve giving “UNSUPPORTED_API_VERSION: Invalid Api version specified on URL.”

I'm stumped on this one. I get that the error has to do with an API version mismatch, but as far as I can see everything is on the same version. I'm trying to pull an unmanaged package from my ...
0
votes
0answers
22 views

How can Customer community user login into Salesforce using REST API?

I have created one Rest webservice in SFDC (which I want to expose to other users) and set up one CUSTOMER community User. Login URL: https://test.salesforce.com/services/oauth2/token?grant_type=...
1
vote
1answer
82 views

Salesforce Standard API - Content Version

I'm trying to send an array of content versions via the Standard API that Salesforce suggests : Using POST method to : https://SandboxName.my.salesforce.com/services/data/v43.0/sobjects/...
0
votes
0answers
41 views

Is there an API for the Quick Find functionality in the Setup Menu?

I've been looking through the API docs, and see APIs for most things except Quick Find. Is there any documented or undocumented API for it?
0
votes
1answer
30 views

Marketing Cloud's email API not working

https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/messageDefinitionSends.htm][1] I followed the instructions and got success response but I didn't receive email. Then I used the ...
0
votes
1answer
19 views

ComplexFilterPart Incorrect Syntax near the keyword 'AND' PHP API

I'm getting an error trying to pass a ComplexFilterPart. Everything appears to be correct. I did a var_dump and everything appears to be in order, but I cannot figure out why I'm getting this error. ...
1
vote
1answer
22 views

How to use REST API (or preferably Restforce) to upsert and only update when field is blank?

I want to upsert Leads with the following rules: Match by Email If match is found, only update fields that are blank. Is it possible to do this by using API upsert? Is it possible to do it with ...
0
votes
1answer
60 views

How to access the records associated with a custom view in REST API

I would like to access the records related to contact predefined list views (like birthdays this week, contacts added this week), and custom views created by the user, using REST API. The SOQL query ...
0
votes
1answer
21 views

Is there any way to output SOAP Envelope when using Python Fuel-SDK?

Would anyone know if there is a way to output the SOAP Envelope that is generated when using the Pythin Fuel-SDK, e.g. the SOAP envelope when making the below call: getSub = ET_Client.ET_Subscriber() ...
1
vote
1answer
36 views

How to specify the Lead owner when creating with REST API?

I searched through the documentation and it seems Lead creation is done by sending a hash of attributes. How do you specify the Lead owner? By email? User ID? Is there any documentation?
1
vote
1answer
20 views

Can't convert WSDL into Apex Class

I'm trying to convert an Apex from a WSDL file, but I'm struggling with it. Since I'm not an experienced developer, the solution may be very simple and I hope anyone can help me. When I try to ...
0
votes
2answers
28 views

Notify or update salesforce records from external application

As Integration part is new to me so, tried little demo project which gets the external data and creates the record in custom object or so from a button click. Using HttpRequest method did all the API ...
1
vote
1answer
32 views

Update Data Extension via WSProxy

I've built a CloudPage which runs SQL queries quickly without having to use automation studio. The SSJS that runs the query works perfectly, but I'm also trying to use this function to also update a ...
0
votes
1answer
101 views

Concurrent requests limit exceeded [duplicate]

anyone can help me to understand this limit: Number of synchronous concurrent requests for long-running requests that last longer than 5 seconds for each organization For Example, If the Apex Class - ...
1
vote
0answers
13 views

Newly created Quip documents don't appear on the web page

I use https://platform.quip.com/1/threads/new-document endpoint to create new document. According to the documentation, if I skip member_ids field, the new document should be added to the current user ...
0
votes
1answer
27 views

How to proceed to make Marketing Cloud API calls using JWT

I am new to the Marketing Cloud and I am trying to build an AppExchange product for my organization, for which I am using SSO through which I get a JWT and then I decode it using secret key given in ...
4
votes
2answers
74 views

Is there a typesafe way to work with rowCause?

On the project I'm currently working with, we have Apex Sharing Rules. I see we are passing rowCause as a String everywhere. But the values of these Strings look like API names. Is there a typesafe ...
0
votes
0answers
18 views

Einstein Platform API Key for Sandbox

Where can I generate/grab the Einstein Platform Api Key for a Salesforce Sandbox? The metamind api document states that we need to register via the signup page. This works for a Developer Org but ...
0
votes
1answer
56 views

Storing JSON reply payload object in Data Extension

I'm successfully getting a result from an HTTP.Post call. My reply comes in a form of a JSON and looks something like this: { "Result": { "Message": "", "MessageDetails": "", "Status": 1 ...
1
vote
1answer
109 views

/services/data/v43.0/sobjects/ContentVersion rest api Limitation

I'm using the standard rest API that salesforce suggest for upload files : /services/data/v43.0/sobjects/ContentVersion - and converting the file to base64 blob on the VersionData param. I want to ...
-1
votes
0answers
16 views

Automation ObjectID retrieval problem

We are trying to retrieve ObjectId of automation (favmovies1) to start it using API. We use this request <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://...
1
vote
1answer
31 views

How to get our Salesforce org ready for APIs?

I need some guidance to understand how a certain API will work and the process of making it so. We have a third party online e-learning app (called bksb) where learners do assessments and we manually ...
2
votes
1answer
33 views

Composite Api Objects and Referencing RecordTypes

Is there anyway to reference an account recordtype by Name when creating an account using Composite API which has recordtypes? I am hoping there is a way so I don't need to do a get request to get a ...
0
votes
1answer
19 views

Content Builder REST API - Retrieve Email and approvals

Does anyone know how to retrieve email and its approval status? I checked on marketing cloud documentation but couldn't find the property to do so. I am trying to retrieve and filter for email that ...
1
vote
4answers
124 views

How to update a record in a trigger with value from a REST API?

When an account is saved I need to update it with value from a REST API. I though my approach would work but I'm getting the following compilation errors. Method does not exist or incorrect signature:...