Employees
Deprecated
Company API v1 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3.
Create an employee employment status
Deprecated
POST
employee_id*integerFormat
int64application/x-www-form-urlencoded- body
effective_from*stringFormat
datecomment*stringemployment_type_id?stringworking_pattern_id?stringprobation_policy_id?stringThe created employee employment status.
application/json- response
data*curl -X POST 'https://app.peopleforce.io/api/public/v1/employees/0/employment_statuses' \ -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" }}