# send_aci_command

The `send_aci_command` method sends a query to an ACI server.

## Syntax

    send_aci_command( host, port, query [, timeout] [, retries] [, sslParameters] )

## Arguments

Argument | Description
--- | ---
`host` | (string) The ACI host to send the query to.
`port` | (number) The port to send the query to.
`query` | (string) The query to send (for example, `action=getstatus`)
`timeout` | (number) The number of milliseconds to wait before timing out. The default is 3000.
`retries` | (number) The number of times to retry if the request fails. The default is 3.
`sslParameters` | (table) A Lua table containing the SSL settings.

## Returns

(String). Returns the XML response as a string. If required, you can call `parse_xml` on the string to return a `LuaXmlDocument`. If the request fails, it returns nil.

## See Also

- send_aci_action

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm