Previous Topic: Install the Agent LightNext Topic: Command-Line


REST API

The CAI REST API takes the transaction data and passes it to the CAI to create the transaction path.

URL

Defines the URL, http://LisaRegistryServer:1505/api/Pathfinder/convertTransaction?Protocol={protocolvalue}.

Method

Defines the POST method.

Parameters

Defines the protocol. HTTP, HTTPS, JMS, and MQ are supported.

Request Body

(Required) Defines the entire content of the transaction data in Multipart format.

Return

Defines the transaction IDs.

The CAI REST API uses the Java SDK to wrap the REST API, lisa-invoke2-client.jar. In the Java SDK, the class com.itko.lisa.invoke.client.PathfinderServer wraps the CAI REST APIs. The following graphic displays the method within this class that wraps the REST call:

Rest_api_method_detail