This method allows any user to modify their own details by providing one or more fields that need to be changed.
This method does not currently check to see that the new data being submitted is actually any different to the existing data. It assumes all new data is valid even if it is not actually new.
This method does not currently verify that the data has gone into the database. If needed, an admin user can verify the update by using get or get_pending as appropriate.
| Required Arguments | |
|---|---|
| user_email | For authentication |
| user_password | For authentication |
| Optional Arguments (one or more must be provided) | |
|---|---|
| name | Name of user |
| password | Password of user |
| company | Company |
| tel | Telephone number |
| web_address | Web address |
| about | Additional information about user |
| notify | '0' to turn email notifications off for this user, '1' to turn them back on |
http://api.ives.info/rest/users/modify_self?user_email=dave@yahoo.com&user_password=fak3passw0rd&name=David%20Davies
Errors will be returned in the form of an error document.
Sample XML Output<?xml version="1.0" encoding="UTF-8"?> <response status="ok"> <message>User 'dave@yahoo.com' modified</message> </response>