Hi, I'm trying to change an user's login name through the API. I'm sending a PUT request with the following xml and getting an error.
Can you help?
userXmlData before sending it to PUT <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<delta:deltaUserList xsi:schemaLocation="http://xml.avaya.com/schema/deltaImport userdeltaimport.xsd" xmlns:tns="http://xml.avaya.com/schema/import" xmlns:delta="http://xml.avaya.com/schema/deltaImport" xmlns:asm="http://xml.avaya.com/schema/import_sessionmanager" xmlns:ipt="http://xml.avaya.com/schema/import_csm_cm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<delta:userDelta>
<displayName>Doe, John</displayName>
<displayNameAscii>Doe, John</displayNameAscii>
<givenName>John</givenName>
<loginName>johndoe@avaya.avayagovos.com</loginName>
<employeeNo></employeeNo>
<middleName></middleName>
<preferredLanguage>en_US</preferredLanguage>
<source>local</source>
<sourceUserKey>none</sourceUserKey>
<surname>Doe</surname>
<userName>3013170735</userName>
</delta:userDelta>
</delta:deltaUserList>
Oct 11, 2018 10:57:16 AM webservice.smgr.client.WebServiceClient putUser
INFO: System Manager update NOT successful
WSClient at PUT/UPDATE output is Operation=Update User, LoginId: sdconnect, Action: Update, merge, Object=, Status: Error! No matching record found for Login Name
johndoe@avaya.avayagovos.com