Skip to Content
API ReferenceEmployees

Update position item

PUT
/api/v1/employees/{employee_id}/positions/{id}

Requires manage_employee_position=edit for the row owner. employee_id in the path must match the owner, otherwise 422 compensation_employee_mismatch is returned

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

employee_id*Employee Id
id*Id

Request Body

application/json
  1. body
date_effective_from?|null
division_id?|null
department_id?|null
job_profile_id?|null
reporting_to_id?|null
location_id?integer|null
comment?string|null
change_reason_id*Change Reason Id
Range0 < value
custom_fields?|null

Response Body

Successful Response

application/json
  1. response
success?Success
Defaulttrue
Example Request
curl -X PUT 'https://api.skailer.com/api/v1/employees/0/positions/0' \  -H 'Content-Type: application/json' \  -d '{  "change_reason_id": 1}'
Example Response
{  "success": true}