Skip to main content Skip to complementary content

Creating a PUT operation to update an existing loan application

Create an operation that uses an ID as a path parameter and accepts a JSON request body containing a 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 Update a loan application
    Method PUT
    Path /applications/{loanId}
    Description Update an existing loan application.
  3. Scroll down to the REQUEST section and click Add next to BODY.
  4. Under TYPE, click object to show the data types available, and select Application.
  5. Scroll down to the RESPONSES section and click Add.
  6. Select 201 - Created in the Status code field.
  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 – let us know how we can improve!