'How to make Generic Integration between two services

Context :

Existing integration:

Existing Integration

Generic integration:

Generic Integration

  1. Each Accounting ERP have different requirement for example ERP accounting 1 support sending a PDF to their system, ERP accounting 2 only support a Memo
  2. Mostly each Accounting has the same mapping data, but have a different value on API response for example on ERP accounting 1 order named "orderpp" , on ERP accounting 2 order named "orderss"
  3. WorkOrder Company make Integration between their services and ERP accounting company, for example in WorkOrder company, they make a workorder based on Order/Quotation on Accounting
  4. Integration use C# and Javascript language
  5. Handshake method use API Key, OAuth2 or Webhooks

My Question

  1. How to make a generic integration that can adapt with the other Integration or can adjust with the new one?
  2. it is possible that one Integration can fit with many Integration?

My Idea

  1. Make an application can will generate Integration like this Generic Integration Design

Thanks in advance! :D



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source