POST users/create
This method creates a User based on an existing user template. A single user is returned by each call
Resource URL
Parameters
Name | Type | Description | |||||||||
token | String | The token retrieved from the login method | |||||||||
user_template_identifier (mandatory) | User Template Identifier | The user's template. The allowed user template identifier fields are the following:
| |||||||||
username (mandatory) | String | The user's username | |||||||||
password (mandatory) | String | The user's password | |||||||||
password_confirmation (mandatory) | String | The user's password confirmation | |||||||||
first_name (mandatory) | String | The user's first name | |||||||||
last_name (mandatory) | String | The user's last name | |||||||||
(optional) | String | The user's email | |||||||||
ip_address (optional) | String | The user's IP address | |||||||||
cti_phone_extension_number (mandatory on conditions) | String | The extension number of the phone device of this user and only if the user's account is CTI enabled | |||||||||
udf_string_1 (optional) | String | User Defined Field of type String | |||||||||
udf_string_2 (optional) | String | User Defined Field of type String | |||||||||
udf_string_3 (optional) | String | User Defined Field of type String | |||||||||
udf_string_4 (optional) | String | User Defined Field of type String | |||||||||
udf_string_5 (optional) | String | User Defined Field of type String | |||||||||
udf_string_6 (optional) | String | User Defined Field of type String | |||||||||
udf_string_7 (optional) | String | User Defined Field of type String | |||||||||
udf_string_8 (optional) | String | User Defined Field of type String | |||||||||
udf_float_1 (optional) | Float | User Defined Field of type Float | |||||||||
udf_float_2 (optional) | Float | User Defined Field of type Float | |||||||||
udf_float_3 (optional) | Float | User Defined Field of type Float | |||||||||
udf_float_4 (optional) | Float | User Defined Field of type Float | |||||||||
udf_date_1 (optional) | Date | User Defined Field of type Date | |||||||||
udf_date_2 (optional) | Date | User Defined Field of type Date | |||||||||
udf_date_3 (optional) | Date | User Defined Field of type Date | |||||||||
udf_date_4 (optional) | Date | User Defined Field of type Date | |||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved user |
username | String | The username of the retrieved user |
active | Boolean | Indicates whether the user's account is active or not |
domain | String | The user's domain |
developer | Boolean | Indicates whether the user is a developer or not |
super_user | Boolean | Indicates whether the user is a superuser or not |
system_user | Boolean | Indicates whether the user is a system user or not Available from CRM.COM R15.0.0 |
person_name | String | The user's person name |
cti_enabled | Boolean | Indicates whether the user's account is CTI enabled or not |
cti_phone_extension_number | String | The extension number of the phone device of this user and only if the user's account is CTI enabled |
ip_address | String | The user's IP address |
String | The user's email | |
udf_string_1 | String | User Defined Field of type String |
udf_string_2 | String | User Defined Field of type String |
udf_string_3 | String | User Defined Field of type String |
udf_string_4 | String | User Defined Field of type String |
udf_string_5 | String | User Defined Field of type String |
udf_string_6 | String | User Defined Field of type String |
udf_string_7 | String | User Defined Field of type String |
udf_string_8 | String | User Defined Field of type String |
udf_float_1 | Float | User Defined Field of type Float |
udf_float_2 | Float | User Defined Field of type Float |
udf_float_3 | Float | User Defined Field of type Float |
udf_float_4 | Float | User Defined Field of type Float |
udf_date_1 | Date | User Defined Field of type Date |
udf_date_2 | Date | User Defined Field of type Date |
udf_date_3 | Date | User Defined Field of type Date |
udf_date_4 | Date | User Defined Field of type Date |
contact_information | Contact Information Object | The user's related Contact Information |
Log Information Object | The log information related with the retrieved user | |
security_profile | Security Profile Object | The user's Security Profile |
units_set | Set of User Units Objects | The set of Units to which the user belongs to |
Referred Objects Response Data