Hi,
Im trying to update the agent name using JavaSDK (180.0.0), but the changes don
t work.
I receive statuscode 200 in the request. but when accessing the agent's profile, the name remains old
var user = usersApi.getUser(userID, null, null, null);
var updateUser = new UpdateUser();
updateUser.setName("[AeC] Camila Ferreira Rodrigues");
updateUser.setVersion(user.getVersion());
var request = new PatchUserRequest();
request.setUserId(user.getId());
request.setBody(updateUser);
usersApi.patchUser(request);
{"date":"2023-09-29 08:14:26","level":"debug","method":"PATCH","url":"https://api.mypurecloud.com/api/v2/users/f14078fa-0999-43b9-9897-edd71f4cd5cf","requestHeaders":{"Authorization":"[REDACTED]","User-Agent":"PureCloud SDK/java","Accept":"application/json","purecloud-sdk":"180.0.0","Content-Type":"application/json"},"statusCode":200,"requestBody":"{"name":"[AeC] Camila Ferreira Rodrigues","primaryContactInfo":[],"addresses":[],"images":[],"version":20,"profileSkills":[],"locations":[],"groups":[],"state":"active","certifications":[]}"}