Update Employee Family
POST
/empeo/api/v1/employees/familyAll fields that have tag 'Required' and 'Nullable' is mean that field required only when adding data, If update data that field is nullable
Request
Accepted value: application/json
Api subscription key get from the OpenAPI integration setting page
Authorization credential utilized in API requests
Unique identifier for referring to employees (Employee No.)
Employee company name
Employee family reference number for update (can view from Get Employee List)
Relationship ID (can view in Get mastertypes API)
Title of the family member (can view in Get name prefixes API)
First names of the family members associated with the employee
Last names of the family members associated with the employee
Family date of birth (format : YYYY-MM-DD)
Nationality ID (can view in Get mastertypes API)
Religion ID (can view in Get mastertypes API)
Race ID (can view in Get mastertypes API)
Employee family contact number
Status of education (Required only if update children data)
{
"employeeRefId": "23003",
"companyName": "empeo Dev Test",
"familyRefNo": 7812,
"relationShipId": 130010,
"title": 2,
"name": "John",
"surname": "Doe",
"dateOfBirth": "1990-01-01",
"nationalityId": 500001,
"ReligionId": 200003,
"IsStudy": false
}
Request samples
Responses
{
"statusCode": 200,
"message": "OK",
"data": {
"message": "Update successfully",
"result": true
}
}