curl -k -u 'admin:cisco' -d '<Status><SystemUnit><ProductId status="True"></ProductId></SystemUnit></Status>' http://<IP>/putxml
I am trying to get the API working to get the System Status and have the following command. It fails with the error below.
<?xml version="1.0"?><ActionError><Reason>No action detected in document.</Reason></ActionError>[
But API is working fine for Callhistory. I am not sure what I am missing in the Status Query. Any help in this regard would only be appreciated.
[root@rmsem7appd01 ~]# curl -k -u 'admin:cisco' -d '<Command><CallHistory><Get command="True"><DetailLevel>Full</DetailLevel></Get></CallHistory></Command>' http://10.88.85.42/putxml
<Command><CallHistoryGetResult status="OK" item="1">
<Entry item="0">
<CallHistoryId item="1">60</CallHistoryId>