Updates the details of an existing employee record based on the provided employee ID and new details.
The employee payload
Anonymiser Identifier for the employee
Company identifier. Retrieve it from the Company GET API and use the ID value returned in the response.
Country identifier. Retrieve it from the Country GET API and use the ID value returned in the response.
Department identifier. Retrieve it from the Department GET API and use the ID value returned in the response.
Business unit identifier. Retrieve it from the BusinessUnit GET API and use the ID value returned in the response.
Location identifier. Retrieve it from the Location GET API and use the ID value returned in the response.
Date the employee was released (left the company), if applicable
Employment type identifier (e.g., Full-time, Part-time)
Indicates whether the employee is a member of the governance body
- Mock serverhttps://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/EmployeeMaster
- https://developer.sustainabilitymaster.ai/apiportalhttps://developer.sustainabilitymaster.ai/apiportal/api/EnterpriseTables/EmployeeMaster
curl -i -X PUT \
https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/EmployeeMaster \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '[
{
"id": 101,
"empId": "EMP001",
"anonymiserId": "ba998cd9-95fd-5e35-8586-0b9b898d01c0",
"isEmployee": true,
"genderId": 1,
"gender": "Male",
"companyId": 2,
"company": "Acme Corp",
"countryId": 1,
"country": "India",
"departmentId": 10,
"department": "Human Resources",
"businessUnitId": 5,
"businessUnit": "Operations",
"locationId": 3,
"location": "Bangalore",
"dateOfBirth": "1985-08-15",
"dateOfJoining": "2020-01-01",
"dateOfRelease": null,
"employmentTypeId": 1,
"employmentType": "Permanent",
"jobCategoryId": 2,
"jobCategory": "Full-Time",
"memberOfGovernanceBody": true,
"differentlyAbled": false,
"percentageFTE": 0.5
}
]'