ACI API 24.1

# HTTP GET

The ACI API allows custom-built applications to access OpenText ACI servers using the following HTTP action syntax:

    http://host:port/action=action&parameters

where,

`host` | is the IP address (or name) of the machine on which the OpenText ACI server is running.
`port` | is the port number that is used to send actions to the OpenText ACI server.
`action` | is the action that you want the OpenText ACI server to run.
`parameters` | are the required and optional parameters for the action.

## Example:

Consider the following example:

    http://localhost:4000/action=query&text=dinosaurs&maxresults=1

This action sends the query text `dinosaur` to an OpenText ACI server (in this case IDOL server), which in response returns an XML result, for example:

    <?xml version="1.0" encoding="UTF-8" ?>
    <autnresponse>
       <action>QUERY</action>
       <response>SUCCESS</response>
       <responsedata>
          <autn:numhits>1</autn:numhits>
          <autn:hit>
             <autn:reference>
               http://c.moreover.com/click/here.pl?z16358245&z=28
             </autn:reference>
             <autn:id>101927</autn:id>
             <autn:section>0</autn:section>
             <autn:weight>97</autn:weight>
             <autn:links>DINOSAUR</autn:links>
             <autn:database>0</autn:database>
             <autn:title>Studying dinosaurs</autn:title>
          </autn:hit>
       </responsedata>
    </autnresponse>

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL ACI API 24.1

Topic Title: HTTP GET