Employees
Deprecated
Company API v1 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3.
Update an employee employment status
Deprecated
PUT
employee_id*integerFormat
int64id*integerFormat
int64application/x-www-form-urlencoded- body
effective_from*stringFormat
datecomment*stringemployment_type_id?stringworking_pattern_id?stringprobation_policy_id?stringThe updated employee employment status.
application/json- response
data*curl -X PUT 'https://app.peopleforce.io/api/public/v1/employees/0/employment_statuses/0' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'effective_from=2019-08-24&comment=string'Example Response
{ "data": { "id": 0, "effective_on": "2019-08-24", "employment_type": { "id": 0, "name": "string" }, "probation_policy": { "id": 0, "name": "string" }, "working_pattern": { "id": 0, "name": "string" }, "comment": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}