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

ownerUserName listed as Read-only in AXL Schema

Martin Sloan
Level 1
Level 1

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?

 

https://developer.cisco.com/docs/axl-schema-reference/

2 Replies 2

npetrele
Cisco Employee
Cisco Employee

 

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.

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.