Defining a data model for REST integration
On the Data model page of the Create REST Integration wizard, you can define the data model for your REST integration by adding a REST response or uploading a file. The system parses sample requests and responses to determine the data model.
- Define the data model by completing either of the following tasks:
- Connect to the REST service and obtain responses that the system can parse to obtain the data model.
- Upload files that contain sample requests and responses that the system can parse to obtain the data model.
- Click Next.
- Configuring the request and response in REST integration by adding a REST response
On the Data model page of the Create REST Integration wizard, you can obtain REST responses for each method that you selected on the Resource methods page of the wizard. The system uses this data to generate the request and response data models for each method. For example, add a REST response if you have a live REST endpoint from which to get sample data.
- Configuring the request and response in REST integration by adding a file
On the Data model page of the Create REST Integration wizard, you can upload a file with sample request and response data to define the request and response data model for each method that you selected on the Resource methods page.
Previous topic Selecting methods for REST integration Next topic Configuring the request and response in REST integration by adding a REST response