When the data in your system has been exported to a common location and is properly formatted according to the schema provided in the
InSight Data Exchange API, it is ready to be imported into
Calyx RIM database.
InSight Data Exchange requires
read only access to the data to be imported.
For this procedure, refer to the
InSight Data Exchange API documentation and
APIUsageExample.java for more details and examples.
To import data:
-
Import the necessary
InSight Data Exchange code.
-
Use the API to specify the action for the data: add, update, or upsert.
On the first message, specify only one request.
-
Assign a unique ID to each entity.
-
Set the values for all fields on the entity by using the API.
-
Use the DataExchangeClient to send the data to
InSight Data Exchange by posting a message to the Data Exchange Web Service.
The Web service returns a transaction ID in a URL.
-
Use the returned transaction ID to check the import transaction status in the logs.