sf_call_apex_rest
Invoke any custom Apex REST endpoint in Salesforce by specifying the HTTP method and URL mapping path. Pass-through calls to @RestResource Apex classes enable org-specific capabilities.
Instructions
Call a custom Apex REST endpoint exposed by the org.
For any org-specific capability beyond this server's built-in
standard-API tools: an Apex class annotated @RestResource(urlMapping=...)
with @HttpGet/@HttpPost/etc. methods. path is that class's URL
mapping, e.g. "/MyApi/v1/accounts/001xx0000000001AAA" for a class
registered with @RestResource(urlMapping='/MyApi/v1/accounts/*').
method must match whichever HTTP method the class handles.
This is a thin, generic pass-through — it has no idea what any particular custom endpoint does, expects, or returns; that's between the caller and whatever the org's Apex class implements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| method | Yes | ||
| params | No |