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 salary
Deprecated
POST
employee_id*integerFormat
int64application/x-www-form-urlencoded- body
effective_on*stringFormat
dateamount*stringcurrency_code*stringper?stringovertime?stringcomment*stringpay_schedule_id?stringcustom_fields?compensation_component_id?stringThe created employee salary.
application/json- response
data*curl -X POST 'https://app.peopleforce.io/api/public/v1/employees/0/salaries' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'effective_on=2019-08-24&amount=string¤cy_code=string&comment=string'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" } }}