Create employee
jisr_create_employeeWRITE: register a new employee in Jisr (they are invited to the system by email). Not reversible through this server: there is no delete tool. Get department_id, employment_type_id, location_id and nationality_id from jisr_list_lookup first. Names need at least two parts. POST /openapi/v1/employees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Employee code, unique within the organization. | |
| Yes | Work email. | ||
| gender | Yes | ||
| location_id | Yes | Location id (jisr_list_lookup locations). | |
| full_name_ar | Yes | Full name in Arabic (at least two words). | |
| full_name_en | Yes | Full name in English (at least two words). | |
| joining_date | Yes | Joining date (yyyy-mm-dd). | |
| contract_type | Yes | Contract type. | |
| department_id | Yes | Department id (jisr_list_lookup departments). | |
| marital_status | Yes | ||
| nationality_id | Yes | Nationality id (jisr_list_lookup nationalities). | |
| personal_email | No | Personal email (unique among active employees). | |
| contract_period | Yes | Contract period. | |
| document_number | Yes | National ID or Iqama number. | |
| contract_end_date | No | Contract end date (yyyy-mm-dd), for fixed-term contracts. | |
| employment_type_id | Yes | Employment type id (jisr_list_lookup employment_types). | |
| outsourcing_company_id | No | Outsourcing company id, for outsourced staff. |