I am working on a project that's automating the CUCM activities.Presently what I am trying to do is update an existing user and make an association to a new device and remove an existing association. I am trying to achieve that using Python. The following is the XML structure for that:
<SOAP-ENV:Envelope xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SOAP-ENV:Body> <axl:updateAppUser xmlns:axl="http://www.cisco.com/AXL/API/1.0" sequence="12055"> <userid>atest</userid> <associatedDevices> <device>TCTVINU</device> </associatedDevices> </axl:updateAppUser > </SOAP-ENV:Body> </SOAP-ENV:Envelope>
But when I run the code, it'showing that the user does not exist, but the user is there in the CUCM. is there any other alternate way to achieve that?
There is also a technique using the executeSQLUpdate, but I am not aware of the syntax.
Solved! Go to Solution.
which Kind of user is "atest"? An EndUser or Application User?
If you want to remove all devices from End User, can you use this post!
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">