Skip to Content
PeopleForce
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 position

Deprecated

POST
/api/public/v2/employees/{employee_id}/positions

Path Parameters

employee_id*integer
Formatint64

Request Body

application/json
  1. body
position_id*integer
Formatint64
location_id*integer
Formatint64
division_id*integer
Formatint64
department_id*integer
Formatint64
reporting_to_id*integer
Formatint64
effective_from*string
Formatdate
job_level_id?integer
Formatint64
legal_entity_id?integer
Formatint64
custom_fields?

Response Body

The created employee position.

application/json
  1. response
data*
Example Request
curl -X POST 'https://app.peopleforce.io/api/public/v2/employees/0/positions' \  -H 'Content-Type: application/json' \  -d '{  "position_id": 0,  "location_id": 0,  "division_id": 0,  "department_id": 0,  "reporting_to_id": 0,  "effective_from": "2019-08-24"}'
Example Response
{  "data": {    "id": 0,    "effective_on": "2019-08-24",    "position": {      "id": 0,      "name": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "location": {      "id": 0,      "name": "string",      "address": "string",      "time_zone": "string",      "holiday_policy_id": 0,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "division": {      "id": 0,      "name": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "department": {      "id": 0,      "name": "string",      "parent_id": 0,      "manager_id": 0,      "department_level": {        "id": 0,        "name": "string",        "hex_color": "string"      },      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "fields": {        "property1": {          "name": "string",          "value": "string"        },        "property2": {          "name": "string",          "value": "string"        }      }    },    "job_level": {      "id": 0,      "name": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "reporting_to": {      "id": 0,      "first_name": "string",      "last_name": "string",      "email": "string"    },    "legal_entity": {      "id": 0,      "name": "string"    },    "fields": {      "property1": {        "name": "string",        "value": "string"      },      "property2": {        "name": "string",        "value": "string"      }    },    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}