Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

name (Required). String. Either the first, last name or both must be present.
login (Optional). String. Login name of the user. If login is present, the user will be counted towards your license count.
password (Optional). String. Password of the user.
email (Optional). String. Email of the user. For users with login, email is mandatory.
role_ids virtual (Optional). String. A comma separated string of role idsTrue or False, For creating user with login details or not.
bill_raterate (Optional). A decimal value specifying the billing rate of the new user.
cost_rate (Optional). A decimal value specifying the cost rate of the new user.
phonephone (Optional). A numeric value.
calendar_idid (Optional). The name or ID of the work calendar with which the new user is to be created.
keywords(Optional). String .
keywords (Optional). String.
privileged (Optional). True or False, For creating user with admin privileges or not respectively.
role_id(Optional). The name or ID of Workspace and role in the format Workspace:Role. Not specifying this will create user to play Staff role in All/Default department.
template_user_id (Optional). The ID of the user whose dashboard, favorite reports, date preferences will be copied to create the new user.
custom_field_1 (Optional). The custom field attached to user. You need to use the Formula Key of the custom field. 

Return values

user_id

When your data format is XML, you should post something like this: 

Code Block
languagejava
<data>
    <item>
      <name>Joe Cole</name>
      <login>joe.cole</login>
      <password>kaboom1</password>
      <email>joe.cole@celoxis.com</email>
      <role_ids>1738,1912</role_ids><template_user_id>1738</template_user_id>                
      <client_ref_no>AIQ_87</client_ref_no>             <!-- Custom field attached to client>user> 
    </item>
    <item>
      <name>Mary<name>Eva Jane<Brown</name>
      <login>mary<login>eva.jane<brown</login>
      <password>krypton2<<password>thunder45</password>
      <email>mary<email>joe.jane@celoxiscole@celoxis.com</email>
      <role_ids>1738<id>Support:CCA,Testing:QA</role_ids>id>
    </item>
 </data>

 

In case of JSON, you should submit an array of objects with the same properties.

Code Block
[
  {
    "name":"Joe Cole",
    "login":"joe.cole",
    "password":"kaboom1",
    "email":"joe.cole@celoxis.com"
    "client_ref_no":"AIQ_87"       <!-- Custom field attached to client>user> 
  }
  {
    "name":"MaryEva JaneBrown",
    "login":"maryeva.janebrown",
    ...
 }
]