18.3 Asynchronous Dispatch API Specification

This topic provide information about the Asynchronous Dispatch API Specification.

Dispatch endpoint is the single entry-point for invoking the routes configured in Oracle Banking Routing Hub for services of a Service Consumer.

Dispatch endpoint signature -
  • Path: /route/dispatch
  • Query Params:
    • isAsync : true
  • Headers:
    • appId : CMNCORE
    • entityId : DEFAULTENTITY
    • userId : <user id>
    • branchCode : <branch code>
    • Authorization : Bearer <Token>
    • SERVICE-CONSUMER : <name of service consumer>
    • SERVICE-CONSUMER-SERVICE : <name of service consumer service>
  • Request Body:
    • Any valid JSON/XML payload or multipart request which shall act as input to the transformation template in request transformer.
  • Response Body:
    {
     "data": { “correlationId” : “” },
     "messages": {}
    }

Example: Refer the below screenshots of route dispatch for Service-Consumer Oracle_Service_Consumer and Service-Consumer Service List_Facilities.