Creating a PUT operation to update an existing loan application - Cloud

Talend Cloud API Designer Getting Started Guide

Version
Cloud
Language
English
Product
Talend Cloud
Module
Talend API Designer
Content
Design and Development > Designing APIs
Last publication date
2024-01-22

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.