Initiate FUnding request to Retail Teller(RT)

OBRH endpoints details to connect with Teller-Module

POST:
http://localhost:port/cmc-obrh-services/route/dispatch

Header:
Content-Type:application/json
userId:RAHUL
appId:CMNCORE
branchCode:000
SERVICE-CONSUMER:RPM_ORIGINATION
SERVICE-CONSUMER-SERVICE: TELLER_FUNDING


Body:

{
    "extSysDtls": {
        "sourceCode": "RPM",
        "sourceUser": "VIJAYHS1",
        "txnBranch": "000",
        "sourceRefNo": "123",
        "branchDate": "2020-03-26"
    },
    "miscGlCreditTransaction": {
        "fromAccountBranch": "000",
        "fromAccountNumber": "151110004",
        "mobileNumber": "",
        "emailId": "",
        "chequeNumber": "",
        "txnRefNumber": "",
        "toAccountCcy": "",
        "exchangeRate": null,
        "txnCustomer": "",
        "netAccountCcy": "",
        "toAccountAmt": null,
        "txnBranchCode": "",
        "narrative": "",
        "fromAccountAmt": 500,
        "userRefNumber": "",
        "valueDate": "",
        "netAccountAmt": null,
        "chequeDate": "",
        "tellerSeqNumber": "",
        "toAccountBranch": "",
        "toAccountNumber": "",
        "uniqueIdentifierNumber": "",
        "totalCharges": 0,
        "fromAccountCcy": "GBP"
    }
}

Response:

{
    "data": {
        "messages": {
            "keyId": "362d06f1-fd4c-416b-a57c-fa75935efd29",
            "status": "COMPLETED",
            "codes": [
                {
                    "code": null,
                    "desc": null,
                    "type": null,
                    "language": null,
                    "args": null,
                    "arg": null,
                    "information": null,
                    "override": null,
                    "error": null,
                    "overrideAuthLevelsReqd": null
                }
            ],
            "requestId": null,
            "httpStatusCode": null,
            "overrideAuthLevelsReqd": null
        },
        "data": {
            "extSysDtls": {
                "sourceCode": "RPM",
                "sourceUser": "VIJAYHS1",
                "sourceRole": "",
                "sourceRefNo": "123",
                "stationId": "",
                "txnBranch": "000"
            },
            "miscGlCreditTransaction": {
                "txnRefNumber": "0002008600010241",
                "tellerSeqNumber": "",
                "txnDate": null,
                "chequeDate": null,
                "chequeNumber": "",
                "emailId": "",
                "fromAccountBranch": "000",
                "fromAccountCcy": "GBP",
                "fromAccountNumber": "151110004",
                "fromAccountAmt": 500,
                "mobileNumber": "",
                "narrative": "",
                "toAccountBranch": "",
                "toAccountCcy": "",
                "toAccountNumber": "",
                "toAccountAmt": 0,
                "txnCustomer": "",
                "uniqueIdentifierNumber": "",
                "uniqueIdentifierType": "",
                "userRefNumber": "",
                "valueDate": null,
                "txnBranchCode": "",
                "exchangeRate": 0,
                "totalCharges": 0,
                "netAccountCcy": "",
                "netAccountAmt": 0
            },
            "addDtls": null,
            "txnDtls": {
                "functionCode": "1460",
                "subScreenClass": "1460",
                "txnBranchCode": null,
                "txnBranchCcy": null,
                "txnBranchDate": null,
                "requestStatus": null,
                "assignmentMode": null,
                "txnId": null,
                "txnRefNumber": "0002008600010241",
                "tellerSeqNumber": null,
                "overrideConfirmFlag": null,
                "supervisorId": null,
                "onlineOfflineTxn": null,
                "userComments": null,
                "authoriserComments": null,
                "eventCode": null,
                "accountType": null
            },
            "prcDtls": null,
            "demDtls": null,
            "sourceCode": null,
            "sourceRefNo": null
        }
    },
    "messages": {
        "keyId": null,
        "status": "SUCCESS",
        "codes": [],
        "requestId": null,
        "httpStatusCode": "OK",
        "overrideAuthLevelsReqd": null
    }
}





Teller-Module endpoint details

POST:
http://localhost:port/obremo-srv-cas-cash-services/service/v1/customer/externalMiscGLRequest

Header:
userId:(any User which have access)
branchCode:
appId:SRVCASH
authToken:Y
Content-Type:application/json
Accept:application/json
sourceCode:OBREMO
branchDate: (Logged-in branch date)

Request Body:
{
    "extSysDtls": {
        "sourceCode": "RPM",
        "sourceUser": "AJIT",
        "sourceRefNo": "000CURPRM0000178",
        "txnBranch": "000"
    },
    "miscGlCreditTransaction": {
        "fromAccountBranch": "000",
        "fromAccountCcy": "GBP",
        "fromAccountAmt": 1003
    },
    "prcDtls": []
}

Response Body:
{
    "messages": {
        "keyId": null,
        "status": "COMPLETED",
        "codes": null,
        "requestId": null,
        "httpStatusCode": null,
        "overrideAuthLevelsReqd": null
    },
    "data": {
        "extSysDtls": {
            "sourceCode": "RPM",
            "sourceUser": "AJIT",
            "sourceRefNo": "000CURPRM0000178",
            "stationId": null,
            "txnBranch": "000"
        },
        "miscGlCreditTransaction": {
            "txnRefNumber": "TXN-000-REF-001",
            "tellerSeqNumber": null,
            "txnDate": null,
            "chequeDate": null,
            "chequeNumber": null,
            "emailId": null,
            "fromAccountBranch": "000",
            "fromAccountCcy": "GBP",
            "fromAccountNumber": null,
            "fromAccountAmt": 1003,
            "mobileNumber": null,
            "narrative": null,
            "toAccountBranch": null,
            "toAccountCcy": null,
            "toAccountNumber": null,
            "toAccountAmt": null,
            "txnCustomer": null,
            "uniqueIdentifierNumber": null,
            "uniqueIdentifierType": null,
            "userRefNumber": null,
            "valueDate": null,
            "exchangeRate": null,
            "totalCharges": null,
            "netAccountCcy": null,
            "netAccountAmt": null
        },
        "addDtls": null,
        "prcDtls": null,
        "demDtls": null,
        "sourceCode": null,
        "sourceRefNo": null
    }
}