API ReferenceEmployees
Update employment item
PUT
Requires manage_employee_employment=edit for the row owner. employee_id in the path must match the owner, otherwise 422 compensation_employee_mismatch is returned
HttpBearerAuthheader
AuthorizationBearer <JWT>employee_id*Employee Idid*Idapplication/json- body
date_effective_from*Date Effective FromFormat
dateemployment_type_id?integer|nullemployment_contract_id?integer|nullwork_pattern_id?integer|nulldate_probation_ends?|nulllegal_entity_id?integer|nullcomment?string|nullcontractual_fte_override?|string|nullcustom_fields?|nullSuccessful Response
application/json- response
success?SuccessDefault
truecurl -X PUT 'https://api.skailer.com/api/v1/employees/0/employments/0' \ -H 'Content-Type: application/json' \ -d '{ "date_effective_from": "2019-08-24"}'Example Response
{ "success": true}