How to make Generic Integration between two services
Context :
Existing integration:
Generic integration:
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
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"
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
Integration use C# and Javascript language
Handshake method use API Key, OAuth2 or Webhooks
My Question
How to make a generic integration that can adapt with the other Integration or can adjust with the new one?
it is possible that one Integration can fit with many Integration?