Totara Learn Open Discussions

Optional Profile field updates using REST requests

 
Craig Eves
Re: Optional Profile field updates using REST requests
Eves (Totara Support)Craig 发表于 2020年04月19日 Sunday 15:56
小组 Totara

Hi Povilas

There doesn't seem to be the institution or address fields available to update users - there is an option for custom fields though.

There is some documentation in Totara on core_user_update_user_preferences 

The format is

REST (POST parameters)

preferences[0][type]=string  //The name of the preference

preferences[0][value]=string //The value of the preference

Regards