Skip to Content
PeopleForce
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
/api/public/v1/employees/{employee_id}/employment_statuses/{id}

Path Parameters

employee_id*integer
Formatint64
id*integer
Formatint64

Request Body

application/x-www-form-urlencoded
  1. body
effective_from*string
Formatdate
comment*string
employment_type_id?string
working_pattern_id?string
probation_policy_id?string

Response Body

The updated employee employment status.

application/json
  1. response
data*
Example Request
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"  }}