ACI API 26.3
ACI API Programming Guide

# aciObjectExecute

Call the `aciObjectExecute` function to run an ACI action.

## Syntax

    aciError aciObjectExecute (
       t_aciObject* pConnection,
       t_aciObject* pToExecute,
       t_aciObject** ppResult);

## Arguments

Arguments | Type/Description
--- | ---
`pConnection` | `t_aciObject*` A pointer to an `ACI_CONNECTION` object.
`pToExecute` | `t_aciObject*` A pointer to an ACI object that contains the action.
`ppResult` | `t_aciObject**` An ACI object created by this function to hold the result.

## Discussion

This function opens the `pConnection` connection, run the action that is contained in the `pToExecute` ACI object, and then closes the connection. You can call this function only for a `Connection` type ACI object.

The output `ppResult` ACI object either contains the response in plain text or contains the top node of a tree structure, which represents the XML response.

## Returns

An ACI error code.

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

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: Knowledge Discovery ACI API 26.3

Topic Title: aciObjectExecute