Hi, all. I have a question about the AXL,
I want to change the locale from English United State to Thai Thailand but, I have no any idea which funcion. I found the updatePhone, but it seem to many parameter. Please kindly advice me.
This means that it worked out. If you look at the spec (e.g. http://developer.cisco.com/c/document_library/get_file?folderId=192390&name=DLFE-11111.zip&redirect=http%3A%2F%2Fdeveloper.cisco.com%2Fweb%2Faxl%2Fdocs%3Fp_p_id%3Ddoc_library_summary_portlet_WAR_doclibrarysummaryportlet_INSTANCE_DXka%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26p_p_col_count%3D3) you'll see that upon successful execution of updatePhone, you get the uuid of the device back. You'd get something that includes the string error if it fails.
Oh, one thing though: just as with ccmadmin, changing the locale won't change anything on the phone just now.. you have to reset the device to make the change sticky. To do that, you need to execute a doDeviceReset operation and set the isHardReset parameter to true.. that will perform a hard reset of the phone and when it comes back up, it'll load the new locale.
If you're using extension mobility, you need to log out the currently logged in user and then log him back in.. more info about that in the extension mobility api section:http://developer.cisco.com/web/emapi/home. With EM you'll need to give your axl user em proxy rights so that it can log in/out everybody so you don't need to know the user's password.