cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
624
Views
5
Helpful
3
Replies

CUCM AXL API adding associate devices

WHen I run the following code to update the associate devices field just to add an extra devices, it will delete all the devices and leave only one device. Can anyone help?  I need to be able to come up with something, that I can update this field, without loosing the other devices. Does anyone know?

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

    xmlns:ns="http://www.cisco.com/AXL/API/12.5">

    <soapenv:Header />

    <soapenv:Body>

        <ns:updateUser>

            <!--You have a CHOICE of the next 2 items at this level-->

            <userid>12345</userid>

            

            <associatedDevices>

                <!--Zero or more repetitions:-->

                <device>12345</device>                

                              

            </associatedDevices>   

3 REPLIES 3
dstaudt
Cisco Employee

Use <getUser> to first retrieve the existing associated devices, modify the list as needed (i.e. add the new device), then perform <updateUser> providing the new complete list.

This is also how I have done it. 

please share SOAP Request

Create
Recognize Your Peers
Content for Community-Ad