The Employee object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: false
Default: Active
Default: true
Default: false
Default: false
{
"id": "employee_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parent_id": null,
"is_group": false,
"employee": "employee_example",
"salutation": "salutation_example",
"first_name": "first_name_example",
"middle_name": "middle_name_example",
"last_name": "last_name_example",
"employee_name": "employee_name_example",
"image": "image_example",
"company": "Example Corp",
"status": "Active",
"employee_number": "employee_number_example",
"gender": "gender_example",
"date_of_birth": "2024-01-15",
"date_of_joining": "2024-01-15",
"emergency_phone_number": "emergency_phone_number_example",
"person_to_be_contacted": "person_to_be_contacted_example",
"relation": "relation_example",
"user_id": "user_id_example",
"create_user_permission": true,
"create_user_automatically": false,
"scheduled_confirmation_date": "2024-01-15",
"final_confirmation_date": "2024-01-15",
"contract_end_date": "2024-01-15",
"notice_number_of_days": 0,
"date_of_retirement": "2024-01-15",
"department": "department_example",
"designation": "designation_example",
"reports_to": "reports_to_example",
"branch": "branch_example",
"holiday_list": "holiday_list_example",
"salary_mode": "salary_mode_example",
"bank_name": "bank_name_example",
"bank_ac_no": "bank_ac_no_example",
"cell_number": "cell_number_example",
"prefered_contact_email": "[email protected]",
"prefered_email": "[email protected]",
"company_email": "[email protected]",
"personal_email": "[email protected]",
"unsubscribed": false,
"permanent_accommodation_type": "permanent_accommodation_type_example",
"permanent_address": "permanent_address_example",
"current_accommodation_type": "current_accommodation_type_example",
"current_address": "current_address_example",
"bio": "bio_example",
"passport_number": "passport_number_example",
"date_of_issue": "2024-01-15",
"valid_upto": "valid_upto_example",
"place_of_issue": "place_of_issue_example",
"marital_status": "marital_status_example",
"blood_group": "blood_group_example",
"family_background": "family_background_example",
"health_details": "health_details_example",
"resignation_letter_date": "2024-01-15",
"relieving_date": "2024-01-15",
"reason_for_leaving": "reason_for_leaving_example",
"leave_encashed": "leave_encashed_example",
"encashment_date": "2024-01-15",
"held_on": "held_on_example",
"new_workplace": "new_workplace_example",
"feedback": "feedback_example",
"attendance_device_id": "attendance_device_id_example",
"salary_currency": "USD",
"ctc": 0,
"iban": "iban_example"
} /api/setup/employee/{id} Retrieve a employee
Retrieves the details of an existing employee. Supply the unique employee ID that was returned from a previous request.
Path parameters
The identifier of the employee to retrieve.
Returns
Returns the employee object if a valid identifier was provided.
curl https://api.overplane.dev/api/setup/employee/employee_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "employee_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parent_id": null,
"is_group": false,
"employee": "employee_example",
"salutation": "salutation_example",
"first_name": "first_name_example",
"middle_name": "middle_name_example",
"last_name": "last_name_example",
"employee_name": "employee_name_example",
"image": "image_example",
"company": "Example Corp",
"status": "Active",
"employee_number": "employee_number_example",
"gender": "gender_example",
"date_of_birth": "2024-01-15",
"date_of_joining": "2024-01-15",
"emergency_phone_number": "emergency_phone_number_example",
"person_to_be_contacted": "person_to_be_contacted_example",
"relation": "relation_example",
"user_id": "user_id_example",
"create_user_permission": true,
"create_user_automatically": false,
"scheduled_confirmation_date": "2024-01-15",
"final_confirmation_date": "2024-01-15",
"contract_end_date": "2024-01-15",
"notice_number_of_days": 0,
"date_of_retirement": "2024-01-15",
"department": "department_example",
"designation": "designation_example",
"reports_to": "reports_to_example",
"branch": "branch_example",
"holiday_list": "holiday_list_example",
"salary_mode": "salary_mode_example",
"bank_name": "bank_name_example",
"bank_ac_no": "bank_ac_no_example",
"cell_number": "cell_number_example",
"prefered_contact_email": "[email protected]",
"prefered_email": "[email protected]",
"company_email": "[email protected]",
"personal_email": "[email protected]",
"unsubscribed": false,
"permanent_accommodation_type": "permanent_accommodation_type_example",
"permanent_address": "permanent_address_example",
"current_accommodation_type": "current_accommodation_type_example",
"current_address": "current_address_example",
"bio": "bio_example",
"passport_number": "passport_number_example",
"date_of_issue": "2024-01-15",
"valid_upto": "valid_upto_example",
"place_of_issue": "place_of_issue_example",
"marital_status": "marital_status_example",
"blood_group": "blood_group_example",
"family_background": "family_background_example",
"health_details": "health_details_example",
"resignation_letter_date": "2024-01-15",
"relieving_date": "2024-01-15",
"reason_for_leaving": "reason_for_leaving_example",
"leave_encashed": "leave_encashed_example",
"encashment_date": "2024-01-15",
"held_on": "held_on_example",
"new_workplace": "new_workplace_example",
"feedback": "feedback_example",
"attendance_device_id": "attendance_device_id_example",
"salary_currency": "USD",
"ctc": 0,
"iban": "iban_example"
} /api/setup/employee List all employees
Returns a list of employees. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of employee objects.
curl https://api.overplane.dev/api/setup/employee \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "employee_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parent_id": null,
"is_group": false,
"employee": "employee_example",
"salutation": "salutation_example",
"first_name": "first_name_example",
"middle_name": "middle_name_example",
"last_name": "last_name_example",
"employee_name": "employee_name_example",
"image": "image_example",
"company": "Example Corp",
"status": "Active",
"employee_number": "employee_number_example",
"gender": "gender_example",
"date_of_birth": "2024-01-15",
"date_of_joining": "2024-01-15",
"emergency_phone_number": "emergency_phone_number_example",
"person_to_be_contacted": "person_to_be_contacted_example",
"relation": "relation_example",
"user_id": "user_id_example",
"create_user_permission": true,
"create_user_automatically": false,
"scheduled_confirmation_date": "2024-01-15",
"final_confirmation_date": "2024-01-15",
"contract_end_date": "2024-01-15",
"notice_number_of_days": 0,
"date_of_retirement": "2024-01-15",
"department": "department_example",
"designation": "designation_example",
"reports_to": "reports_to_example",
"branch": "branch_example",
"holiday_list": "holiday_list_example",
"salary_mode": "salary_mode_example",
"bank_name": "bank_name_example",
"bank_ac_no": "bank_ac_no_example",
"cell_number": "cell_number_example",
"prefered_contact_email": "[email protected]",
"prefered_email": "[email protected]",
"company_email": "[email protected]",
"personal_email": "[email protected]",
"unsubscribed": false,
"permanent_accommodation_type": "permanent_accommodation_type_example",
"permanent_address": "permanent_address_example",
"current_accommodation_type": "current_accommodation_type_example",
"current_address": "current_address_example",
"bio": "bio_example",
"passport_number": "passport_number_example",
"date_of_issue": "2024-01-15",
"valid_upto": "valid_upto_example",
"place_of_issue": "place_of_issue_example",
"marital_status": "marital_status_example",
"blood_group": "blood_group_example",
"family_background": "family_background_example",
"health_details": "health_details_example",
"resignation_letter_date": "2024-01-15",
"relieving_date": "2024-01-15",
"reason_for_leaving": "reason_for_leaving_example",
"leave_encashed": "leave_encashed_example",
"encashment_date": "2024-01-15",
"held_on": "held_on_example",
"new_workplace": "new_workplace_example",
"feedback": "feedback_example",
"attendance_device_id": "attendance_device_id_example",
"salary_currency": "USD",
"ctc": 0,
"iban": "iban_example"
}
],
"has_more": false,
"total": 1
} /api/setup/employee Create a employee
Creates a new employee object.
Body parameters
Default: false
Default: Active
Default: true
Default: false
Default: false
Returns
Returns the newly created employee object if the call succeeded.
curl https://api.overplane.dev/api/setup/employee \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"first_name":"first_name_example","company":"Example Corp","gender":"gender_example","date_of_birth":"2024-01-15","date_of_joining":"2024-01-15"}' {
"id": "employee_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parent_id": null,
"is_group": false,
"employee": "employee_example",
"salutation": "salutation_example",
"first_name": "first_name_example",
"middle_name": "middle_name_example",
"last_name": "last_name_example",
"employee_name": "employee_name_example",
"image": "image_example",
"company": "Example Corp",
"status": "Active",
"employee_number": "employee_number_example",
"gender": "gender_example",
"date_of_birth": "2024-01-15",
"date_of_joining": "2024-01-15",
"emergency_phone_number": "emergency_phone_number_example",
"person_to_be_contacted": "person_to_be_contacted_example",
"relation": "relation_example",
"user_id": "user_id_example",
"create_user_permission": true,
"create_user_automatically": false,
"scheduled_confirmation_date": "2024-01-15",
"final_confirmation_date": "2024-01-15",
"contract_end_date": "2024-01-15",
"notice_number_of_days": 0,
"date_of_retirement": "2024-01-15",
"department": "department_example",
"designation": "designation_example",
"reports_to": "reports_to_example",
"branch": "branch_example",
"holiday_list": "holiday_list_example",
"salary_mode": "salary_mode_example",
"bank_name": "bank_name_example",
"bank_ac_no": "bank_ac_no_example",
"cell_number": "cell_number_example",
"prefered_contact_email": "[email protected]",
"prefered_email": "[email protected]",
"company_email": "[email protected]",
"personal_email": "[email protected]",
"unsubscribed": false,
"permanent_accommodation_type": "permanent_accommodation_type_example",
"permanent_address": "permanent_address_example",
"current_accommodation_type": "current_accommodation_type_example",
"current_address": "current_address_example",
"bio": "bio_example",
"passport_number": "passport_number_example",
"date_of_issue": "2024-01-15",
"valid_upto": "valid_upto_example",
"place_of_issue": "place_of_issue_example",
"marital_status": "marital_status_example",
"blood_group": "blood_group_example",
"family_background": "family_background_example",
"health_details": "health_details_example",
"resignation_letter_date": "2024-01-15",
"relieving_date": "2024-01-15",
"reason_for_leaving": "reason_for_leaving_example",
"leave_encashed": "leave_encashed_example",
"encashment_date": "2024-01-15",
"held_on": "held_on_example",
"new_workplace": "new_workplace_example",
"feedback": "feedback_example",
"attendance_device_id": "attendance_device_id_example",
"salary_currency": "USD",
"ctc": 0,
"iban": "iban_example"
} /api/setup/employee/{id} Update a employee
Updates the specified employee by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the employee to update.
Body parameters
Default: false
Default: Active
Default: true
Default: false
Default: false
Returns
Returns the updated employee object.
curl https://api.overplane.dev/api/setup/employee/employee_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"parent_id":null,"is_group":false}' {
"id": "employee_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parent_id": null,
"is_group": false,
"employee": "employee_example",
"salutation": "salutation_example",
"first_name": "first_name_example",
"middle_name": "middle_name_example",
"last_name": "last_name_example",
"employee_name": "employee_name_example",
"image": "image_example",
"company": "Example Corp",
"status": "Active",
"employee_number": "employee_number_example",
"gender": "gender_example",
"date_of_birth": "2024-01-15",
"date_of_joining": "2024-01-15",
"emergency_phone_number": "emergency_phone_number_example",
"person_to_be_contacted": "person_to_be_contacted_example",
"relation": "relation_example",
"user_id": "user_id_example",
"create_user_permission": true,
"create_user_automatically": false,
"scheduled_confirmation_date": "2024-01-15",
"final_confirmation_date": "2024-01-15",
"contract_end_date": "2024-01-15",
"notice_number_of_days": 0,
"date_of_retirement": "2024-01-15",
"department": "department_example",
"designation": "designation_example",
"reports_to": "reports_to_example",
"branch": "branch_example",
"holiday_list": "holiday_list_example",
"salary_mode": "salary_mode_example",
"bank_name": "bank_name_example",
"bank_ac_no": "bank_ac_no_example",
"cell_number": "cell_number_example",
"prefered_contact_email": "[email protected]",
"prefered_email": "[email protected]",
"company_email": "[email protected]",
"personal_email": "[email protected]",
"unsubscribed": false,
"permanent_accommodation_type": "permanent_accommodation_type_example",
"permanent_address": "permanent_address_example",
"current_accommodation_type": "current_accommodation_type_example",
"current_address": "current_address_example",
"bio": "bio_example",
"passport_number": "passport_number_example",
"date_of_issue": "2024-01-15",
"valid_upto": "valid_upto_example",
"place_of_issue": "place_of_issue_example",
"marital_status": "marital_status_example",
"blood_group": "blood_group_example",
"family_background": "family_background_example",
"health_details": "health_details_example",
"resignation_letter_date": "2024-01-15",
"relieving_date": "2024-01-15",
"reason_for_leaving": "reason_for_leaving_example",
"leave_encashed": "leave_encashed_example",
"encashment_date": "2024-01-15",
"held_on": "held_on_example",
"new_workplace": "new_workplace_example",
"feedback": "feedback_example",
"attendance_device_id": "attendance_device_id_example",
"salary_currency": "USD",
"ctc": 0,
"iban": "iban_example"
} /api/setup/employee/{id} Delete a employee
Permanently deletes a employee. This cannot be undone.
Path parameters
The identifier of the employee to delete.
Returns
Returns a confirmation that the employee has been deleted.
curl https://api.overplane.dev/api/setup/employee/employee_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "employee_abc123",
"deleted": true
} /api/setup/employee/{id}/children Get children
Returns the direct children of the specified node in the tree.
Path parameters
The identifier of the employee to act on.
Returns
A list of direct child objects.
curl https://api.overplane.dev/api/setup/employee/employee_abc123/children \
-H "Authorization: Bearer sk_test_..." {
"id": "employee_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parent_id": null,
"is_group": false,
"employee": "employee_example",
"salutation": "salutation_example",
"first_name": "first_name_example",
"middle_name": "middle_name_example",
"last_name": "last_name_example",
"employee_name": "employee_name_example",
"image": "image_example",
"company": "Example Corp",
"status": "Active",
"employee_number": "employee_number_example",
"gender": "gender_example",
"date_of_birth": "2024-01-15",
"date_of_joining": "2024-01-15",
"emergency_phone_number": "emergency_phone_number_example",
"person_to_be_contacted": "person_to_be_contacted_example",
"relation": "relation_example",
"user_id": "user_id_example",
"create_user_permission": true,
"create_user_automatically": false,
"scheduled_confirmation_date": "2024-01-15",
"final_confirmation_date": "2024-01-15",
"contract_end_date": "2024-01-15",
"notice_number_of_days": 0,
"date_of_retirement": "2024-01-15",
"department": "department_example",
"designation": "designation_example",
"reports_to": "reports_to_example",
"branch": "branch_example",
"holiday_list": "holiday_list_example",
"salary_mode": "salary_mode_example",
"bank_name": "bank_name_example",
"bank_ac_no": "bank_ac_no_example",
"cell_number": "cell_number_example",
"prefered_contact_email": "[email protected]",
"prefered_email": "[email protected]",
"company_email": "[email protected]",
"personal_email": "[email protected]",
"unsubscribed": false,
"permanent_accommodation_type": "permanent_accommodation_type_example",
"permanent_address": "permanent_address_example",
"current_accommodation_type": "current_accommodation_type_example",
"current_address": "current_address_example",
"bio": "bio_example",
"passport_number": "passport_number_example",
"date_of_issue": "2024-01-15",
"valid_upto": "valid_upto_example",
"place_of_issue": "place_of_issue_example",
"marital_status": "marital_status_example",
"blood_group": "blood_group_example",
"family_background": "family_background_example",
"health_details": "health_details_example",
"resignation_letter_date": "2024-01-15",
"relieving_date": "2024-01-15",
"reason_for_leaving": "reason_for_leaving_example",
"leave_encashed": "leave_encashed_example",
"encashment_date": "2024-01-15",
"held_on": "held_on_example",
"new_workplace": "new_workplace_example",
"feedback": "feedback_example",
"attendance_device_id": "attendance_device_id_example",
"salary_currency": "USD",
"ctc": 0,
"iban": "iban_example"
} /api/setup/employee/{id}/ancestors Get ancestors
Returns all ancestors from the immediate parent up to the root of the tree.
Path parameters
The identifier of the employee to act on.
Returns
A list of ancestor objects from parent to root.
curl https://api.overplane.dev/api/setup/employee/employee_abc123/ancestors \
-H "Authorization: Bearer sk_test_..." {
"id": "employee_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parent_id": null,
"is_group": false,
"employee": "employee_example",
"salutation": "salutation_example",
"first_name": "first_name_example",
"middle_name": "middle_name_example",
"last_name": "last_name_example",
"employee_name": "employee_name_example",
"image": "image_example",
"company": "Example Corp",
"status": "Active",
"employee_number": "employee_number_example",
"gender": "gender_example",
"date_of_birth": "2024-01-15",
"date_of_joining": "2024-01-15",
"emergency_phone_number": "emergency_phone_number_example",
"person_to_be_contacted": "person_to_be_contacted_example",
"relation": "relation_example",
"user_id": "user_id_example",
"create_user_permission": true,
"create_user_automatically": false,
"scheduled_confirmation_date": "2024-01-15",
"final_confirmation_date": "2024-01-15",
"contract_end_date": "2024-01-15",
"notice_number_of_days": 0,
"date_of_retirement": "2024-01-15",
"department": "department_example",
"designation": "designation_example",
"reports_to": "reports_to_example",
"branch": "branch_example",
"holiday_list": "holiday_list_example",
"salary_mode": "salary_mode_example",
"bank_name": "bank_name_example",
"bank_ac_no": "bank_ac_no_example",
"cell_number": "cell_number_example",
"prefered_contact_email": "[email protected]",
"prefered_email": "[email protected]",
"company_email": "[email protected]",
"personal_email": "[email protected]",
"unsubscribed": false,
"permanent_accommodation_type": "permanent_accommodation_type_example",
"permanent_address": "permanent_address_example",
"current_accommodation_type": "current_accommodation_type_example",
"current_address": "current_address_example",
"bio": "bio_example",
"passport_number": "passport_number_example",
"date_of_issue": "2024-01-15",
"valid_upto": "valid_upto_example",
"place_of_issue": "place_of_issue_example",
"marital_status": "marital_status_example",
"blood_group": "blood_group_example",
"family_background": "family_background_example",
"health_details": "health_details_example",
"resignation_letter_date": "2024-01-15",
"relieving_date": "2024-01-15",
"reason_for_leaving": "reason_for_leaving_example",
"leave_encashed": "leave_encashed_example",
"encashment_date": "2024-01-15",
"held_on": "held_on_example",
"new_workplace": "new_workplace_example",
"feedback": "feedback_example",
"attendance_device_id": "attendance_device_id_example",
"salary_currency": "USD",
"ctc": 0,
"iban": "iban_example"
} /api/setup/employee/{id}/descendants Get descendants
Returns all descendants of the specified node in the tree.
Path parameters
The identifier of the employee to act on.
Returns
A list of all descendant objects.
curl https://api.overplane.dev/api/setup/employee/employee_abc123/descendants \
-H "Authorization: Bearer sk_test_..." {
"id": "employee_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"parent_id": null,
"is_group": false,
"employee": "employee_example",
"salutation": "salutation_example",
"first_name": "first_name_example",
"middle_name": "middle_name_example",
"last_name": "last_name_example",
"employee_name": "employee_name_example",
"image": "image_example",
"company": "Example Corp",
"status": "Active",
"employee_number": "employee_number_example",
"gender": "gender_example",
"date_of_birth": "2024-01-15",
"date_of_joining": "2024-01-15",
"emergency_phone_number": "emergency_phone_number_example",
"person_to_be_contacted": "person_to_be_contacted_example",
"relation": "relation_example",
"user_id": "user_id_example",
"create_user_permission": true,
"create_user_automatically": false,
"scheduled_confirmation_date": "2024-01-15",
"final_confirmation_date": "2024-01-15",
"contract_end_date": "2024-01-15",
"notice_number_of_days": 0,
"date_of_retirement": "2024-01-15",
"department": "department_example",
"designation": "designation_example",
"reports_to": "reports_to_example",
"branch": "branch_example",
"holiday_list": "holiday_list_example",
"salary_mode": "salary_mode_example",
"bank_name": "bank_name_example",
"bank_ac_no": "bank_ac_no_example",
"cell_number": "cell_number_example",
"prefered_contact_email": "[email protected]",
"prefered_email": "[email protected]",
"company_email": "[email protected]",
"personal_email": "[email protected]",
"unsubscribed": false,
"permanent_accommodation_type": "permanent_accommodation_type_example",
"permanent_address": "permanent_address_example",
"current_accommodation_type": "current_accommodation_type_example",
"current_address": "current_address_example",
"bio": "bio_example",
"passport_number": "passport_number_example",
"date_of_issue": "2024-01-15",
"valid_upto": "valid_upto_example",
"place_of_issue": "place_of_issue_example",
"marital_status": "marital_status_example",
"blood_group": "blood_group_example",
"family_background": "family_background_example",
"health_details": "health_details_example",
"resignation_letter_date": "2024-01-15",
"relieving_date": "2024-01-15",
"reason_for_leaving": "reason_for_leaving_example",
"leave_encashed": "leave_encashed_example",
"encashment_date": "2024-01-15",
"held_on": "held_on_example",
"new_workplace": "new_workplace_example",
"feedback": "feedback_example",
"attendance_device_id": "attendance_device_id_example",
"salary_currency": "USD",
"ctc": 0,
"iban": "iban_example"
} Line items
Child objects that belong to this employee. These are accessed via the parent's ID.
Employee Education
Attributes
Endpoints
/api/setup/employee-education?parent_id={id} /api/setup/employee-education /api/setup/employee-education/{id} /api/setup/employee-education/{id} /api/setup/employee-education/reorder {
"id": "employee-education_abc123",
"idx": 1,
"employee_id": "employee_id_example",
"school_univ": "school_univ_example",
"qualification": "qualification_example",
"level": "level_example",
"year_of_passing": 0,
"class_per": "class_per_example",
"maj_opt_subj": "maj_opt_subj_example"
} Employee External Work History
Attributes
Endpoints
/api/setup/employee-external-work-history?parent_id={id} /api/setup/employee-external-work-history /api/setup/employee-external-work-history/{id} /api/setup/employee-external-work-history/{id} /api/setup/employee-external-work-history/reorder {
"id": "employee-external-work-history_abc123",
"idx": 1,
"employee_id": "employee_id_example",
"company_name": "Example Corp",
"designation": "designation_example",
"salary": 0,
"address": "address_example",
"contact": "contact_example",
"total_experience": "total_experience_example"
} Employee Internal Work History
Attributes
Endpoints
/api/setup/employee-internal-work-history?parent_id={id} /api/setup/employee-internal-work-history /api/setup/employee-internal-work-history/{id} /api/setup/employee-internal-work-history/{id} /api/setup/employee-internal-work-history/reorder {
"id": "employee-internal-work-history_abc123",
"idx": 1,
"employee_id": "employee_id_example",
"branch": "branch_example",
"department": "department_example",
"designation": "designation_example",
"from_date": "2024-01-15",
"to_date": "2024-01-15"
}