|
The URL that supports REST calls to the Interact API is:
|
|
There are two Interact classes specific to the REST API: RestClientConnector, which serves as a helper to connect to an Interact run time instance via REST with the format of JSON, and RestFieldConstants, which describes the underlying format of the JSON message that is used for API requests and responses.
|
|
A sample REST client is provided at Interact _Home/samples/javaApi/InteractRestClient.java. Although the sample code is a simple example, it should provide a good starting point for demonstrating how the REST API is used.
|
|
For a complete description of the REST API classes along with all other Interact API information, see the Javadoc installed on the runtime server at Interact_Home/docs/apiJavaDoc.
|
Copyright IBM Corporation 2014. All Rights Reserved.
|