The ProcessIntegrationProvider interface specifies
two methods that you must implement before you create an integration definition.
Required Editions
| Available in: Lightning Experience |
- executeCallout
- getProviderAttributes
executeCallout ()
Description: Processes the intake data gathered by the agent and makes the API callout to the
external system.
Input Parameters:
- requestId: An identifier for the request.
- attributes: A set of configuration attributes that you can set when you
create or update an integration definition.
Output: Returns an IntegrationCalloutResponse object. true on successful completion, false for any other errors, along with the error message.
getProviderAttributes ()
Description: Retrieves the default list of ApexProviderAttr from the
provider.
Input Parameters: None
Output: Returns a list of ApexProviderAttr objects.