Add New Employee
POST/api/employees
Add New Employee
Request
Header Parameters
X-Company-Slug stringrequired
- application/json
Body
email stringrequired
password stringrequired
name string
gender ContactGenderEnum (string)
Possible values: [male
, female
, other
]
surname string
phone_number string
language string
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
email string
password string
name string
gender ContactGenderEnum (string)
Possible values: [male
, female
, other
]
surname string
phone_number string
language string
{
"email": "[email protected]",
"password": "12345678",
"name": "ahmet",
"gender": "male",
"surname": "soyadı",
"phone_number": "541213423431",
"language": "tr"
}
Loading...