ACI API 25.3
ACI API Programming Guide

# aciObjectParamSetInt

Call the `aciObjectParamSetInt` function to set the contents of an integer parameter.

## Syntax

    aciError aciObjectParamSetInt(
       t_aciObject* pObject,
       char* szName,
       int nValue)

## Arguments

Arguments | Type/Description
--- | ---
`pObject` | `t_aciObject*` A pointer to an `ACI_DATA` object that contains an XML result.
`szName` | `char*` A pointer to the parameter name.
`nValue` | `int` An integer value.

## Discussion

This function adds the `szName` integer parameter with the specified `nValue` to the `pObject`.

## Returns

An ACI error code.

## Examples

    aciObjectParamSetInt(pConnection, ACI_PORTNUMBER, 4001);

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

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 25.3

Topic Title: aciObjectParamSetInt