Employees
Deprecated
Company API v2 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3, which serves every v2 path under
/api/public/v3.Create an employee employment status
Deprecated
POST
employee_id*integerFormat
int64application/json- body
effective_from*stringFormat
datecomment*stringemployment_type_id?integerFormat
int64working_pattern_id?integerFormat
int64probation_policy_id?integerFormat
int64The created employee employment status.
application/json- response
data*curl -X POST 'https://app.peopleforce.io/api/public/v2/employees/0/employment_statuses' \ -H 'Content-Type: application/json' \ -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" }}