Loading
Salesforce now sends email only from verified domains. Read More
Data Consumption Framework
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Service Integration Provider Interface

          Service Integration Provider Interface

          The ServiceIntegrationProvider interface specifies three methods that you must implement before you create an integration definition.

          Required Editions

          Available in: Lightning Experience
          • getCalloutRequest
          • getCalloutResponse
          • getProviderAttributes

          getCalloutRequest ()

          Description: Generates an IntegrationCalloutRequest to initiate a continuation callout.

          Input Parameters:

          • requestId: An identifier for the request.
          • params: A map that contains additional information to communicate with the external system. For example, {“recordId”: “AxCxxxxxx”, “recordType”: “SavingsAccount”}.
          • attributes: A set of configuration attributes that you can set when you create or update an integration definition.

          Output: Returns an IntegrationCalloutRequest object.

          getCalloutResponse ()

          Description: Processes the list of HTTP responses and generates an IntegrationCalloutResponse object.

          Input Parameters:

          • httpResponseList: A list that contains HTTP responses.
          • state: The state of the continuation callout that’s set in IntegrationCalloutRequest.
          • 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.

           
          Loading
          Salesforce Help | Article