cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1026
Views
1
Helpful
1
Replies

xCommand vs Http - Result is different

rickmcneely
Level 1
Level 1

I am trying to get an http request to return the same results as this ssh request: xCommand SystemUnit Diagnostics.

xCommand SystemUnit Diagnostics returns:

OK

*r DiagnosticsResult Message 1 Description: "System is in standby mode."

*r DiagnosticsResult Message 1 Level: Skipped

*r DiagnosticsResult Message 1 References: ""

*r DiagnosticsResult Message 1 Type: SelectedVideoInputSourceConnected

*r DiagnosticsResult Message 2 Description: "The main video source is set to the same as the default presentation source. This may cause reduced video quality in some scenarios."

*r DiagnosticsResult Message 2 Level: Warning

*r DiagnosticsResult Message 2 References: ""

*r DiagnosticsResult Message 2 Type: PresentationSourceSelection

*r DiagnosticsResult Message 3 Description: "Provisioning is idle."

*r DiagnosticsResult Message 3 Level: Skipped

*r DiagnosticsResult Message 3 References: "status=Idle&reason=Missing ExternalManager"

*r DiagnosticsResult Message 3 Type: ProvisioningStatus

*r DiagnosticsResult Message 4 Description: "System is in standby mode."

*r DiagnosticsResult Message 4 Level: Skipped

*r DiagnosticsResult Message 4 References: ""

*r DiagnosticsResult Message 4 Type: OSDVideoOutput

** end

My http request (http://192.168.101.40/getxml?location=Command/SystemUnit/Diagnostics/) returns:

<?xml version="1.0"?>

<Command xmlns="http://www.tandberg.com/XML/CUIL/2.0" product="Cisco Codec" version="TC7.3.3.c84180a" apiVersion="2">

    <SystemUnit item="1">

        <Diagnostics item="1">

            <Run command="True" item="1" responseName="DiagnosticsResult" role="Admin">

                <ResultSet item="1" required="False" valueSpaceRef="/Valuespace/Vs_literal_Result_1">

                    <ValueSpace type="Literal">

                        <Value>Alerts</Value>

                        <Value>All</Value>

                        <Value>None</Value>

                    </ValueSpace>

                </ResultSet>

            </Run>

        </Diagnostics>

    </SystemUnit>

</Command>

The http request is not returning  the errors returned in the ssh request.  Not sure what I'm missing.

1 Reply 1