Applying an interchange file
You can work with a decision service that is transferred in an interchange
file.
After you define a decision service in another application, you can put its specification in a JSON interchange file. Then, you use a REST API to apply the specification and create the corresponding decision service in Decision Center, where you develop it further in the Business console.
Note: For more information about using interchange files with Decision Center, see Using
AI-generated decision services and Decision Automation Interchange Format
.
You use the REST API v1/asset/apply. You must provide the following parameters:
- datasource: The JNDI name of the Decision Center data source. If not specified, it defaults to jdbc/ilogDataSource.
- projectSpecFile: The JSON file that holds the converted interchange file.
To apply the file:
- Open your Decision Center REST API Swagger interface.
- Expand the Interchange section.
- Expand /v1/asset/apply.
- Leave datasource as the JNDI name.
- In projectSpecFile, browse to the JSON file for your interchange file.
- Click Execute to apply the file.