Skip to main content Skip to complementary content

Creating a GET operation to fetch a specific loan application

Create an operation that uses an ID as a path parameter and returns a specific loan application.

Procedure

  1. Click the + button in the left panel and click Operation.
  2. Enter the following information in the GENERAL section:
    Field Value
    Name Get a loan application by ID
    Method GET
    Path /applications/{loanId}
    Description Get a specific loan application using its ID.
  3. Scroll down to the RESPONSES section and click Add.
  4. Select 200 - OK in the Status code field.
  5. Click Add next to BODY to specify the content of the response to send.
  6. Under TYPE, click object to show the data types available, and select Application.
  7. Click Use a component next to RESPONSES.
  8. Select 4XX - Default in the Status code field and select Error in the Name field, then click OK.
  9. Click Save.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!