L.6.2 Test using Web API Testing Tool (example Postman)

To test using the Web API Testing Tool (example Postman), follow these steps:

  1. Create a new request from the tool's New Menu.
  2. Select the request type as POST.
  3. Enter the FTP Rest services URL.
  4. In the headers section set the 'Content-Type= application/JSON'.
  5. We have detailed the request JSON format for all the web services.
  6. Create the JSON in the required format.
  7. Copy the JSON and paste it in the Body's raw section of the tool.
  8. Press the send button.
  9. The request is submitted to the requested web service.
  10. The service is invoked on the server and the requested/calculated values are shown in the response section of the tool.
  11. The following image shows the above steps:

Figure L-2 Web API Testing Tool


Web API Testing Tool

The getTPRate web service works with data from the following tables. The specific table where the instrument record lookup will execute is identified in the request.JSON based on INSTRUMENT_TYPE_CODE.

  • FSI_D_TERM_DEPOSITS (230)
  • FSI_D_MORTGAGES (130)
  • FSI_D_LOAN_CONTRACTS (180)
  • FSI_D_CREDIT_LINES (160)

This list of tables can be extended by including additional tables in the ofsaaws.properties file.

Return values:

  • TRANSFER_RATE
  • LIQUIDITY_PREMIUM_AMT
  • LIQUIDITY_PREMIUM_RATE
  • BASIS_RISK_COST_AMT
  • BASIS_RISK_COST_RATE
  • PRICING_INCENTIVE_AMT
  • PRICING_INCENTIVE_RATE
  • OTHER_ADJUSTMENTS_AMT
  • OTHER_ADJUSTMENTS_RATE
  • ALL_IN_TP_RATE