ACI API 24.1

# aciObjectCreate

Call the `aciObjectCreate` function to create an ACI object.

## Syntax

    aciError aciObjectCreate (
       t_aciObject** ppObject,
       aciObjectType nType);

## Arguments

Arguments | Type/Description
--- | ---
`ppObject` | `t_aciObject**` On return, the ACI object you created.
`nType` | `aciObjectType` One of the following data type constants: `ACI_CONNECTION`. A connection object. `ACI_COMMAND`. A command object. `ACI_DATA`. A data object.

## Discussion

This function creates and allocates memory for an ACI object of type `nType`. Typically, you do not create `ACI_DATA` type objects; call the `aciObjectExecute` function instead. For information about the `aciObjectExecute` function, see aciObjectExecute.

## Examples

    aciObjectCreate(&pCommand, ACI_COMMAND);
    aciObjectCreate(&pConnection, ACI_CONNECTION);
    aciObjectCreate(&pResponse, ACI_DATA);

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: aciObjectCreate