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.Update an employee salary
Deprecated
PUT
employee_id*integerFormat
int64id*integerFormat
int64application/json- body
effective_on?stringFormat
dateamount*numberFormat
floatcurrency_code?stringper?string|nullcomment?stringovertime?booleanpay_schedule_id?integerFormat
int64custom_fields?compensation_component_id?integerFormat
int64The updated employee salary.
application/json- response
data*curl -X PUT 'https://app.peopleforce.io/api/public/v2/employees/0/salaries/0' \ -H 'Content-Type: application/json' \ -d '{ "amount": 0.1}'Example Response
{ "data": { "id": 0, "effective_on": "2019-08-24", "amount": "string", "currency_code": "string", "per": "string", "comment": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "overtime": true, "pay_schedule": { "id": 0, "name": "string" }, "custom_fields": { "property1": { "name": "string", "value": "string" }, "property2": { "name": "string", "value": "string" } }, "compensation_component": { "id": 0, "name": "string", "code": "string", "payout_type": "once_off", "frequency": "hourly" } }}