Integrating data from a REST service when creating a data type

To connect your data model to externally managed data, integrate a data type with a REST service.

Result: 

When you create a data type that uses REST to connect to the system of record, the following artifacts are created:

  • Data layer:
    • Data class for the new data type
    • Data type properties
    • Data type is added to the application
  • Integration layer:
    • Integration class
    • Connect REST rule
    • Authentication profile and authentication profile settings
    • Resource path settings
    • Response data transform
    • Response JSON data transform
    • Data page

The Data Type wizard creates all artifacts when you finish the wizard, except when you add a property in the Data Mapping page. The new property is created immediately. If you cancel or close the wizard, the property persists; it is not deleted.

When you replace or update a data type, previously generated artifacts are not deleted. New artifacts are created.

All artifacts can be viewed in Dev Studio.