User API
| Regarding SessionToken You need to have a valid SessionToken to be able to request any method here plus you have to authenticate as a member of the System Administrator Group! |
| Razuna Hosted Platform Only users in the Administrator group are allowed to use these API calls. |
Add a User
Method
| Method Name |
|---|
| add |
Input Parameter
| Parameter | Description | Type | Required | Sample Input |
|---|---|---|---|---|
| sessiontoken | A valid sessiontoken | String | yes | 54592180-7060-4D4B-BC74-2566F4B2F943 |
| user_first_name | First Name of the user | String | yes | John |
| user_last_name | Last Name of the user | String | yes | Doe |
| user_email | eMail of the user | String | yes | john@doe.com |
| user_name | User name of the user | String | yes | john |
| user_pass | Password of the user | String | yes | john1doe (password will be MD5 hashed) |
| user_active | Activate the user | String | yes | T = true F= false |
| groupid | Groupid (ID of the Group you want the user to belong to) | Numeric | yes | 0 = no group 1 = System Administrator 2 = Administrator any other number for your custom groups |
Output Value
| Name | Description | Sample Output | Version |
|---|---|---|---|
| Response | A result code with the status of the login. If the result is 0 the method was successful. | 0 | |
| Message | Reply text | User has been added successfully | |
| User ID | Returns the users id | 108 | Razuna 1.4.5 |
SOAP: Sample Request
REST: Sample Request
Sample Output
Get User Information (as of Razuna 1.3.5)
Method
| Method Name |
|---|
| getuser |
Input Parameter
| Parameter | Description | Type | Required | Sample Input |
|---|---|---|---|---|
| sessiontoken | A valid sessiontoken | String | yes | 54592180-7060-4D4B-BC74-2566F4B2F943 |
Output Value
| Name | Description | Sample Output |
|---|---|---|
| Response | A result code with the status of the login. If the result is 0 the method was successful. | 0 |
| firstname | First Name of the user | John |
| lastname | Last Name of the user | Doe |
| eMail of the user | john@doe.com | |
| username | User name of the user | john |
| userid | ID of the user | 108 |
SOAP: Sample Request
REST: Sample Request
Sample Output
Labels:
None
Add Comment