04-08-2016 09:27 AM
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.
06-08-2016 01:55 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide