Skip to main content

Questions tagged [apexrest]

Apex REST enhances the Force.com REST API to allow developers to create custom REST-enabled web services using Apex.

0 votes
0 answers
55 views

I'm receiving this error FSL.Exceptions.GeneralException: Schedule optimization incomplete. Contact your Salesforce admin and provide them with this error: HTTP: 408 when trying to execute the ...
al3shka's user avatar
0 votes
2 answers
65 views

We have a Twilio integration for SMS built on the original unmanaged package, and I'm switching over to upgrade the associated APIs. I'm running into an issue where the current, functional callback ...
Duncan Stewart's user avatar
-2 votes
1 answer
176 views

I have a function in an Apex Class which is called with an HTTP Post via a REST Api Apex class. One of the things it does is to update Account records (selected with a SOQL query in the failing method)...
cyberspy's user avatar
  • 246
1 vote
1 answer
429 views

I have created a simple Apex REST to retrieve weather information. Here is my code. @RestResource(urlMapping='/weather/*') // Defines the REST endpoint URL global with sharing class SimpleNamedCred { ...
ramki Dce's user avatar
0 votes
1 answer
54 views

I am implementing custom pricing service. Salesforce has given documentation (PricingResponseItem) where they have mentioned how we can override salesforce pricing with custom one. I am using the ...
Sam Rickert's user avatar
0 votes
1 answer
47 views

Facing this error on lead insert using api's. Not sure what I'm missing here. Insert failed. First exception on row 0; first error: DUPLICATES_DETECTED, Use one of these records?: [] @RestResource(...
AJ51's user avatar
  • 1
0 votes
0 answers
84 views

We are trying to create product schedule using rest api and for Oauth2 Authentication ConnectedApp, Auth Provider, Named Credential. When we made callout using named cred it is showing 302 status and ...
Gaurav Patil's user avatar
1 vote
1 answer
302 views

Hope everyone is well. I was wondering if someone could provide some guidance on how to setup Named Credentials to connect two sandboxes together for using REST OAuth to post data from Sandbox A ---&...
Nelson Chisoko's user avatar
0 votes
0 answers
187 views

Calling a REST API apex class from apex trigger and seeing below errors. Response: System.HttpResponse[Status=Internal Server Error, StatusCode=500] Response Body: {"status":"error&...
Dileep Katari's user avatar
1 vote
0 answers
2k views

I have created an Apex REST endpoint and I want to test it using an integration user that I've also just set up. The integration user is using the "Salesforce Integration" User License. I've ...
Mike's user avatar
  • 1,231
0 votes
0 answers
159 views

I'm trying to write a CVENT REST API call in my code. According to the documentation, I'm sending all the required parameters. The same request works perfectly in Postman, but in my code, it returns a ...
SFDC Beginner's user avatar
0 votes
1 answer
213 views

I have set up a webhook in an external system to send data to my salesforce sandbox. My sandbox is getting the webhook payload but its encrypted. This is my Apex Class @RestResource(urlMapping='/...
sfNewbie's user avatar
1 vote
1 answer
329 views

Daily orders loads records but some records are missing to load to fix this we have created another batch apex to call each day records and we are comparing with already exists benefitdisbursement ...
Afrose ahamed's user avatar
0 votes
1 answer
333 views

I attempted to send an HTTP request and transmit a JSON to the Salesforce REST API in the following manner, but encountered the following error: Error: [ { "message": "JSON request body ...
yukichia's user avatar
0 votes
0 answers
148 views

Given a class with a large number of methods (200+) because it acts as a fascade for the putrposes of Visualforce remoting, how would these same methods be best exposed to the REST API? I'm thinking ...
Matt Lacey's user avatar
  • 25.9k

15 30 50 per page
1
2 3 4 5
41