I have successful consumed several other Webex APIs but the "LstrecordaccessDetailHistory XML Request" doesn't work.
I got this message from the XML response: "unable to instantiate com.webex.xmlapi.service.binding.history.lstrecordaccessDetailHistory; java.lang.ClassNotFoundException: com.webex.xmlapi.service.binding.history.lstrecordaccessDetailHistory"
Here's my XML request body:
String strXML = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n";
strXML += "<serv:messagexmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"xmlns:serv=\"http://www.webex.com/schemas/2002/06/service\">\r\n";
strXML += "<header>";
strXML += "<securityContext>";
strXML += "<password>password</password>";
strXML += "<siteName>siteName</siteName>";
strXML += "<email>email</email>";
strXML += "</securityContext>";
strXML += "</header>";
strXML += "<body>";
strXML += "<bodyContentxsi:type=\"java:com.webex.service.binding.history.lstrecordaccessDetailHistory\">";
strXML += "<recondID>recondID</recondID>";
strXML += "<timeZoneID>timeZoneID</timeZoneID>";
strXML += "<listControl>";
strXML += "<startFrom>1</startFrom>";
strXML += "<maximumNum>500</maximumNum>";
strXML += "<listMethod>OR</listMethod>";
strXML += "</listControl>";
strXML += "</bodyContent>";
strXML += "</body>";
strXML += "</serv:message>";
Here's the documentation from Cisco: https://developer.cisco.com/media/webex-xml-api/95LstrecordaccessDetailHistory.html
Any one has gone through this before?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Greetings, Jack! There have been changes made in the XML API that are sometimes missed in the documentation. This appears to be one of those. The correct body section you want is:
<body>
<bodyContent xsi:type="java:com.webex.service.binding.history.LstrecordaccessDetailHistory"> <recordID>5862</recordID>
<timeZoneID>4</timeZoneID>
</bodyContent>
</body>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.