ExecuteSQLQuery504

Metreos.Native.AxlSoap504.ExecuteSQLQuery

Summary

The ExecuteSQLQuery action allows a developer to issue a custom SQL query against the Cisco Unified Communications Manager database.

Usage

ExecuteSQLQuery requires knowledge of the Cisco Unified Communications Manager database, which can be obtained by referencing the Data Dictionary document which can be downloaded from the Cisco Unified Communciations Manager web-based administration interface.

The resulting ExecuteSQLQueryResponse object can be subsequently passed into the ParseSQLQuery action to convert the response to a System.Data.DataTable.

Remarks

The ExecuteSQLQuery action is inherently very Cisco Unified Communications Manager version-specific. You should carefully test which versions of Cisco Unified Communications Manager your script works with if using this action.

Action Parameters
Parameter Name.NET TypeDefaultDescription
QuerySystem.StringThe SQL query
CallManagerIP *System.StringCallManager IP Address
AdminUsernameSystem.StringThe Administrator username. Defaults to 'Administrator'
AdminPassword *System.StringThe Administrator password
Result Data
Parameter Name.NET TypeDescription
ExecuteSQLQueryResponseMetreos.AxlSoap504.executeSQLQueryResponseThe details of the query
FaultMessageSystem.StringThe textual description of the SOAP fault, if a fault occurs
FaultCodeSystem.Int32The numeric code of a SOAP fault, if a fault occurs

Branch Conditions 

success

No description.

failure

No description.

fault

No description.