This API call is used to add a user to an account.
| Required Information | |
|---|---|
| Name | Description |
| action | adminusers |
| operation | add |
| format | xml |
| uname | The username for the user.(32 character limit) |
| fname | The first name for the user.(32 character limit) |
| lname | The last name for the user.(32 character limit) |
| role | The role for the user.(16 character limit) See Get Roles for a list of locations. |
| upassword | The password for the user. |
| location | The location for the user. See Get Locations for a list of locations. |
| isactive | The active status of the user, valid options are:
|
| timezone | The timezone for the user, valid options are:
|
| displaycount | The displaycount for the user, valid options are:
|
| Optional Information | |
| The email for the user.(64 character limit) | |
| attrfilter | The attribute filter id for the user. |
| Reply Data | |
|---|---|
| Name | Description |
| message_id | The id of the user added. |
Example Request:
http://test.zonarsystems.net/interface.php?action=adminusers&operation=add&format=xml&uname=testuser1&fname=Test&lname=User&role=Admin&upassword=password&location=Home&isactive=true&timezone=PST8PDT&displaycount=20
Example Reply:
<success ver="1">
<action>adminusers</action>
<message_id>5</message_id>
</success>