Skip to Content
PeopleForce
Compensation components

Update compensation component

PATCH
/api/public/v3/compensation_components/{id}

Path Parameters

id*integer
Formatint64

Request Body

application/json
  1. body
name?string
category?string
payout_type?string
Value in"once_off""reoccurring_fixed""reoccurring_variable"
frequency?string
Value in"hourly""daily""weekly""monthly""quarterly""half_yearly""yearly"
calculation_method?string
Value in"rate_based""fixed""calendar_working_days_based"
code?string
description?string

Response Body

The updated compensation component.

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://app.peopleforce.io/api/public/v3/compensation_components/0' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "id": 0,    "name": "string",    "code": "string",    "category": "string",    "payout_type": "once_off",    "frequency": "hourly",    "description": "string"  }}