Skip to Content
PeopleForce
Compensation components

Create compensation component

POST
/api/public/v3/compensation_components

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"
description?string
code?string

Response Body

The created compensation component.

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