This getPhone API call gets a phone by the MAC address and returns everything that’s returnable for the phone.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/14.0">
<soapenv:Header/>
<soapenv:Body>
<ns:getPhone>
<name>MAC ADDRESS HERE</name>
</ns:getPhone>
</soapenv:Body>
</soapenv:Envelope>
This updateUser API call updates the user, by adding an associated device and adding the IPCC number. Keep in mind that adding a new device clears out the current list of devices. To keep the current list, first get a list of current devices, then add them all again with the new device.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/14.0">
<soapenv:Header/>
<soapenv:Body>
<ns:updateUser>
<userid>Username</userid>
<associatedDevices>
<device>PHONE NAME</device>
</associatedDevices>
<ipccExtension>Phone number</ipccExtension>
<ipccRoutePartition>Partition</ipccRoutePartition>
</ns:updateUser>
</soapenv:Body>
</soapenv:Envelope>