POST
/integration/v1/users
Create user
Create user
operationId Create user
نص الطلب
Content-Type: application/json
| الحقل | النوع | الإلزامية | الوصف |
|---|---|---|---|
username
|
string | مطلوب | Username |
password
|
string | اختياري | Password |
employee_id
|
string | اختياري | Employee ID |
external_id
|
string | اختياري | External ID |
group_ids
|
object | اختياري | Additional Groups |
subscription_id
|
string (uuid) | اختياري | Subscription ID |
auto_license
|
boolean | اختياري | Auto License |
notify_on_create
|
boolean | اختياري | Is Not Notify |
first_login
|
boolean | اختياري | First Login |
city
|
string | اختياري | City |
company
|
string | اختياري | Company |
custom_fields
|
array | اختياري | Extra |
id
|
string (uuid) | مطلوب | Custom field id |
value
|
string | مطلوب | Custom field value |
first_name
|
string | مطلوب | First Name |
last_name
|
string | مطلوب | Last Name |
national_id
|
string | اختياري | National ID |
email
|
string (email) | مطلوب | |
phone_number
|
string (phone) | اختياري | Phone Number |
gender
|
string | اختياري | gender enum: `m`, `f` |
center
|
string | اختياري | Center |
position
|
string | اختياري | Position |
department
|
string | اختياري | Department |
date_of_birth
|
string (date) | اختياري | Date of Birth YYYY-MM-DD |
الاستجابات
200
مخطط application/json
{
"type": "object",
"nullable": true
}
412 Invalid parameters
500 Server error
512 Specification violations