cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2001
Views
5
Helpful
2
Replies

updateAppUser returns succes when it cannot rename a user

stephan.steiner
Spotlight
Spotlight

Here's a sample request I'm using

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5"><soapenv:Header/><soapenv:Body><ns:updateAppUser sequence="0"> <newUserId>pmgr_refactorteam22</newUserId><uuid>{6B9611DD-9397-4EB9-BE6D-0F91EA61BCB3}</uuid></ns:updateAppUser></soapenv:Body></soapenv:Envelope>

The request returns your usual success message. But, check on CUCM, and you see no change was made. I suspect that is because the newUserId is actually already present. But I would expect to get an error message in this case because the rename cannot be done.

 

This is on a CUCM 11.5.1.18900-97

1 Accepted Solution

Accepted Solutions

stephan.steiner
Spotlight
Spotlight

Never mind, seems the tag is <newEnduserid>.. write it that way, and it does error out as expected.

View solution in original post

2 Replies 2

stephan.steiner
Spotlight
Spotlight

Never mind, seems the tag is <newEnduserid>.. write it that way, and it does error out as expected.

Hi Stephan,

 

your tag newUserId is wrong and should be -> newUserid

 

My working example in 11.5.1 SU9

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
<soapenv:Header/>
<soapenv:Body>
<ns:updateAppUser sequence="?">
<userid>test</userid>
<newUserid>test2</newUserid>
</ns:updateAppUser>
</soapenv:Body>
</soapenv:Envelope>