You need to sign in to do that
Don't have an account?
VIKASH CHAND KUMAR
Apex Webservice class which accept Http response and can be exposed outside salesforce
I need to write Apex Webservice which will accept Http response and parse the JSON based on Wrapper , and create records. This webservice will be exposed so that it can be accessed outside. do you have any sample class, please help
This Trailhead should guide you to do implement webserivce. this: https://trailhead.salesforce.com/de/content/learn/modules/apex_integration_services/apex_integration_webservices
So To Do is:
- REST Apex Class with the annotation @RestResource and then methods with @HTTPGET, @HTTPPOST - based on the requieremnts
- Coonected App to restrict which objects/classes can be accessed outside from salesfoce
- API User (Salesforce User)
regards,Omar