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

Cisco Webex API Exception

zhan.wang1
Level 1
Level 1

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:message xmlns: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 += "
<bodyContent xsi: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?

1 Reply 1

mifierro
Level 4
Level 4

Greetings! It appears that you have found two issues with our XML API documentation. We will look into getting the documentation fixed. In the meantime, there are two values you will need to try changing:

lstrecordaccessDetailHistory should start with a capital L: LstrecordaccessDetailHistory

<recondID></recondID> should be <recordID></recordID>