My team is trying to run reports on the status of Recording Servers for a customer. GetCurrentDeviceStatus works perfect to get data about cameras and other attached devices, but GetCurrentHardwareStatus only returns an empty XML when used in the exact same way. Details are below.
Is GetCurrentHardwareStatus the right command to use to get the status of the recording server? If so, what are we doing wrong here? If not, what command should we use to get the status of the recording servers connected to a given management server?
Details:
Main SOAP endpoint:
http://{IP}:7563/recorderstatusservice/recorderstatusservice2.asmx
We were able to get the camera status using the SOAPAction:
http://videoos.net/2/XProtectCSRecorderStatus2/GetCurrentDeviceStatus
But when we try to get the hardware status with:
http://videoos.net/2/XProtectCSRecorderStatus2/GetCurrentHardwareStatus
we get a response without any information in it
Tried with both the camera id and the recorder id, same response:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
<GetCurrentHardwareStatusResponse xmlns="[http://videoos.net/2/XProtectCSRecorderStatus2](http://videoos.net/2/XProtectCSRecorderStatus2 "http://videoos.net/2/XProtectCSRecorderStatus2")">
<GetCurrentHardwareStatusResult>
<CameraDeviceStatusArray />
<InputDeviceStatusArray />
<OutputDeviceStatusArray />
<MicrophoneDeviceStatusArray />
<SpeakerDeviceStatusArray />
<MetadataDeviceStatusArray />
<EventStatusArray />
<HardwareStatusArray />
</GetCurrentHardwareStatusResult>
</GetCurrentHardwareStatusResponse>
</soap:Body>
</soap:Envelope>
Request body for reference (id and token replaced):
<Envelope xmlns=“http://schemas.xmlsoap.org/soap/envelope/”>
<GetCurrentHardwareStatus xmlns="[http://videoos.net/2/XProtectCSRecorderStatus2](http://videoos.net/2/XProtectCSRecorderStatus2 "http://videoos.net/2/XProtectCSRecorderStatus2")">
<token>{token}</token>
<hardwareIds>
<guid>{id}</guid>
</hardwareIds>
</GetCurrentHardwareStatus>
