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.