This method allows anyone to create a new user for themselves. No authentication is required for this operation. Upon submission, the new user will have a 'pending' status until they have been approved by an admin user.
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_pending.
| Required Arguments | |
|---|---|
| name | Name of user |
| Email address of user | |
| password | Password of user |
| tel | User's telephone number |
| Optional Arguments | |
|---|---|
| company | Company |
| web_address | Web address |
| about | Additional information about user |
| notify | '0' to turn email notifications off for this user |
http://api.ives.info/rest/users/new?name=David%20Davis&email=dave@yahoo.com&password=fak3passw0rd&tel=01234%20567890
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' is pending approval</message> </response>