on 01-24-2014 05:29 PM
It appears you are correct. this is the Case for 11.5.1 as well.
You should be able to to specify the service profile via uuid by specifying the "uuid=" attribute in the element (you can leave the element value itself empty.) The following work equivalently on my 10.5 system:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<soapenv:Header/>
<soapenv:Body>
<ns:updateUser>
<userid>dstaudt</userid>
<serviceProfile uuid="{54ED23A8-A665-437F-801A-280015703B41}"/>
</ns:updateUser>
</soapenv:Body>
</soapenv:Envelope>
or
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<soapenv:Header/>
<soapenv:Body>
<ns:updateUser>
<userid>dstaudt</userid>
<serviceProfile>Test UC Service Profile</serviceProfile>
</ns:updateUser>
</soapenv:Body>
</soapenv:Envelope>
@dstaudt - Thats good to know!
I would say however, that the documentation does not mention the ability to use the actual ServiceProfile name as in the updateUser request, which for me was the point of this. it nice to be able to use the actual name instead of just the uuid....
https://developer.cisco.com/media/axl-schema-11-5/Files/AXLSoap_UpdateUserReq.html#Link2489
attributes |
| ||||||||||||
source | <xsd:element name="serviceProfile" type="axlapi:XFkType" nillable="true" minOccurs="0" maxOccurs="1"/> |
Thanks for this thread - yet another AXL call that doesn't follow the doc , but this saved me a few strands of hair !
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: