Dispatch Objects is Fonteva's API Dispatcher. Your Fonteva app controls the order of execution, error logging, and more. The API Dispatcher also fires API Resources based on triggers. Dispatch Objects work for both Incoming and Outgoing API calls. This allows you to keep both your Fonteva app and the External App to stay in sync.
For example, if the API updates a Contact in Fonteva, you can configure a Dispatch Object to also update an External Application with every update when the Contact is updated.
Before You Begin
You must apply the Critical Spark Update Dispatch Api Calls on triggers. See https://fonteva.atlassian.net/wiki/spaces/userguide/pages/854240804 for more information.
Creating a New Dispatch Object
From the API Service Detail:
- [Click] .
- [Enter] the following:
- API Resource
- SObject Name - the Fonteva field that is updated in the External Application.
- HTTP verb
- Click the Is Enabled checkbox to enable the Dispatch Object.
- Click .
Adding Custom Headers
Fonteva also allows you to add custom header variables to your Dispatch Object. To add a custom header variable to your existing Dispatch Object:
- [Click] to expand the menu.
- [Select] Header Vars.
- Enter your variable.