J.4 Send Requests

  1. Do the following configuration before sending the request using the POST request feature.
    1. Go to the path ##DOMIAN_HOME##/applications/##context.ear##/##context.war##/conf
    2. Open the RestAPIConf.properties file.
    3. Add the hostname and port values inside the RestAPIConf.properties file For Example: hostname=fsgbu-mum-239.snbomprshared1.gbucdsint02bom.oraclevcn.com port=7001
  2. Requests are sent using the POST request feature. Use the token generated to authorize the request and pass the JSON in the correct format.

    Note:

    • You may use the desktop version of the Postman client to perform these steps. Postman is an open-source, collaborative platform for API development. For more information, see Postman Docs.
    • You can also use any other API client, such as cURL. For more information, see REST APIs for Oracle Database.
  1. In the Postman client, select the request type as POST and enter the request URL in the following format:
    • For SWIFT: ##APP_URL##/rest-api/TFService/message/postMessage- ToQueue?queueName=sourceEntityQueue&msgCheckFlag=N
    • For ISO20022: ##APP_URL##/rest-api/TFService/message/postMessage- ToQueue?queueName=sourceSepaEntityQueue&businessName=RT SEPA Message Attributes&domain=SR&msgCheckFlag=N&externalData=Message Direc- tion:OUTBOUND
    • For Fedwire: ##APP_URL##/rest-api/TFService/message/postMessage- ToQueue?queueName=sourceFedEntityQueue&msgCheckFlag=N

    Figure J-9 Request


    Request

  2. In the Authorization menu, select the TYPE as Bearer Token.

    Figure J-10 Authorization


    Authorization

  3. Paste the token generated in the Token field.
  4. Select Body tab and select raw.
  5. Insert the message in the text field.
  6. Click Send.

    Figure J-11 Body Tab


    Body Tab