Configuration

For this purpose, PullAndPush API Integration configuration is done in Transfocus Middleware. FoxPro API is the source data provider, Middleware processes that data, and then data is posted to call outbound API that works as a webhook.

Gerard Order Status

Transfocus Middleware: Integration Settings for Gerard Order Status

Order Status PullAndPush Integration

In this type of Integration, Inbound Type is set to API, and Outbound Type is also set to API. After each configured interval, Middleware Scheduler pulls data from Inbound API and sends data to Outbound API.

Inbound Settings

Here are some consideration while configuring Pass-Through Inbound settings

  • The Inbound schedule is a cron-like schedule that after each interval Scheduler job is run.

  • The Inbound HTTP method is POST and data is fetched from the Inbound API URL.

  • Inbound params are sent to the Inbound API URL.

  • Inbound params can be fixed strings like GSM or dynamically bonded. In the case of dynamic binding params are specified in curly brackets like {CusCode} and CusCode is the name of the data column from Order object in Gerard Order API call. It must be the same.

  • The Inbound API is secured by API key whereas API key name and API key value are chosen.

Inbound Settings

Processing Settings

After fetching data from Inbound API, Middleware does processing as configured.

  • It picks all columns specified in Expected Columns. Expected columns are specified as a comma-separated string. In this case, four columns are picked from source data including ConsRef, TripStatus, JobNo, and OrderFound

  • It filters data based on selected filters. e.g. select only that Order status where OrderFound=true

  • If data passes from filters, field-name mapping is done and output is transformed as per given data fields mapping. like field name JobNumber will be output instead of JobNo.

Processing Settings

Outbound Settings

The Outbound setting will be used when data will be passed to Webhook API

  • As provided by the Outbound service provider, the Outbound HTTP method is POST and data will be posted to the Outbound API URL.

  • The Outbound service provider also provided security credentials to access the API. It is the Bearer Token in this case. So given Bearer token will be passed as authentication header while calling Outbound API.

Outbound Settings

Last updated

Was this helpful?