All Questions
7 questions
-1
votes
1
answer
65
views
RestResource HttpGet close new tab
I'm currently trying to work with an integration with an external API (Lansweeper). When trying to authenticate the API, I'm running into an issue where they authenticate through an external url (...
1
vote
1
answer
3k
views
Callout to other Salesforce org using Named Credential - which Authentication option should I use?
I have 2 Salesforce orgs (with identical code) - a hub and a client. I need to pass data from the hub to the client. Using S2S is fine for normal data, but when it comes to files (eg pdf) we can't use ...
1
vote
1
answer
592
views
How can I disable my existing Apex REST Webservice in production?
I have an existing Apex REST Webservice configured in production for consumption by a partner for Lead creation.
However, we are not working with that partner anymore and hence want to disable this ...
5
votes
1
answer
14k
views
URL_NOT_RESET error REST API
I have created the REST Resource to fetch the data from Salesforce. My Domain is also activated in our Org.
When I fetch the data using https://myDomain.my.salesforce.com/.../... it is returning me ...
2
votes
1
answer
789
views
RestResource Annotation - UrlMapping is NOT allowed
As per the Salesforce Article Winter / Spring '18 Apex Compiler Changes it is mentioned that
UrlMapping is NOT allowed for @HttpPost
UrlMapping and URL strings are NOT allowed for @HttpGet
but ...
3
votes
1
answer
210
views
How to consume a salesforce REST service?
I want to integrate two salesforce orgs using username-password flow.
First I got access token, after that I'm trying to call another service which is located in the org.
I'm getting following error.
...
8
votes
3
answers
2k
views
How to see JSON response for REST service?
How I can see what the JSON response looks like for a REST service that looks like the one below? I guess I'm looking for the actual steps of what I need to do to see the JSON response.
@...