12-09-2020 09:03 AM
The ownerUserName field is listed as "Read-only for IP Phones" for the add and update phone methods. I'm able to populate and update that field using the API. Anyone know why it's listed as read-only in the docs?
12-09-2020 09:26 AM
I don't know the reason for the way the documentation presents the value. Perhaps it's because the value isn't something that you can always set and expect it to remain the way you set it. Here's the field in the device table:
fkenduser: This is the id of currently logged on user if EM is being used, or the owner of the device if EM is not being used.
EM = extension mobility, where you can become the temporary owner by logging in at the phone, and when you log out, the ownership goes back to the default.
12-16-2020 11:16 AM
I think that's a good guess and it would be an interesting test to see what happens if you tried to update that field while someone was logged in using EM. I'm glad it's not R/O, but it sent me off on a goose chase when ultimately I could modify the field via AXL.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide