Creating a data type and connecting it to a system of record using REST
Add data types to your application to define and store data, for example, customer addresses, then integrate them with data from an external source using REST.
Before you begin: Read the API documentation for the REST service that you
choose, to determine the supported endpoints, parameters, and authentication protocol.
You can then work with your system administrator to find or create the relevant
authentication profile.
- In the navigation panel of App Studio, click Data.
- Click Data types and integrations.
- Click New.
- In the Data type name field, enter the name of the new data type.
- In the Define source data field, select Now.
-
In the System field list, select the system of record.
- Create new – Create a new system to connect to an external database using a REST connection.
- Other system – Connect to an external database using a REST connection.
- In the Connection details section, in the Method field, select the connection method, GET or POST.
- In the Endpoint URL field, enter the endpoint URL of the data.
- In the Parameters section, choose which part of the URL are dynamic and need to be parameterized for future calls.
- In the Headers section, click Add header to specify a request header and its value. Some services require extra information, for example, API version.