Creating the Address data type - 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 a data type that defines an address.

Procedure

  1. Click the + button in the left panel and click Data type.
  2. Enter Address in the Name field and add a description.
    You can also add a section if needed. Since this example is simple, sections are not needed, but they can useful to group resources and data types in more complex APIs.
  3. In the DATA TYPE section, click Generate from JSON example, paste the JSON sample below and click Generate.
    {
    	"street": "3185 Gateway Avenue",
    	"street2": "",
    	"postCode": "93301",
    	"city": "Bakersfield",
    	"state": "CA"
    }
    The properties are automatically created. You can edit them if needed.
  4. Click Save.

Results

Your data type is created, it should look like this:
Definition of the Address data type.