---
updatedAt: 2025-06-05T21:40:31.000Z
agentTools:
  projectIndex: https://apidocs.officient.io/llms.txt
---

# Grant one-off wage component

Grants a one-off wage components for a specific person, in a specific month

Scope required: one.off.wage.components:write

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "officient-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.officient.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/1.0/wages/one_off/components/add": {
      "post": {
        "summary": "Grant one-off wage component",
        "description": "Grants a one-off wage components for a specific person, in a specific month",
        "operationId": "grant-one-off-wage-component",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"success\": 1\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "http",
              "code": "// for types with input type unity_and_days\n{\n            \"person_id\": 291,\n            \"month\": 9,\n            \"year\": 2020,\n            \"type_id\": 54,             \n            \"parts\": {\n                \"unity\": \"21.0000\",\n                \"days\": \"5.00\"\n            }\n} ",
              "name": "types with input type unity_and_days"
            },
            {
              "language": "http",
              "code": "// for types with input type unity_and_hours\n{\n            \"person_id\": 291,\n            \"month\": 9,\n            \"year\": 2020,\n            \"type_id\": 54,             \n            \"parts\": {\n                \"unity\": \"21.0000\",\n                \"hours\": \"5.00\"\n            }\n} ",
              "name": "types with input type unity_and_hours"
            },
            {
              "language": "http",
              "code": "// for types with input type unity_and_kms\n{\n            \"person_id\": 291,\n            \"month\": 9,\n            \"year\": 2020,\n            \"type_id\": 54,             \n            \"parts\": {\n                \"unity\": \"21.0000\",\n                \"kms\": \"5.00\"\n            }\n} ",
              "name": "types with input type unity_and_kms"
            },
            {
              "language": "http",
              "code": "// for types with input type total_value\n{\n            \"person_id\": 291,\n            \"month\": 9,\n            \"year\": 2020,\n            \"type_id\": 54,             \n            \"parts\": {\n                \"total_value\": \"5.00\"\n            }\n} ",
              "name": "types with input type total_value"
            },
            {
              "language": "http",
              "code": "// for types with input type unity_and_amount\n{\n            \"person_id\": 291,\n            \"month\": 9,\n            \"year\": 2020,\n            \"type_id\": 54,             \n            \"parts\": {\n                \"unity\": \"21.0000\",\n                \"amount\": \"5.00\"\n            }\n} ",
              "name": "types with input type unity_and_amount"
            },
            {
              "language": "http",
              "code": "// for types with input type kms\n{\n            \"person_id\": 291,\n            \"month\": 9,\n            \"year\": 2020,\n            \"type_id\": 54,             \n            \"parts\": {\n                \"kms\": \"5.00\"\n            }\n} ",
              "name": "types with input type kms"
            },
            {
              "language": "http",
              "code": "// for types with input type days_and_kms\n{\n            \"person_id\": 291,\n            \"month\": 9,\n            \"year\": 2020,\n            \"type_id\": 54,             \n            \"parts\": {\n                \"days\": \"21.0000\",\n                \"kms\": \"5.00\"\n            }\n} ",
              "name": "types with input type days_and_kms"
            },
            {
              "language": "http",
              "code": "// for types with input type unity_and_kms_and_days\n{\n            \"person_id\": 291,\n            \"month\": 9,\n            \"year\": 2020,\n            \"type_id\": 54,             \n            \"parts\": {\n                \"unity\": \"21.0000\",\n                \"kms\": \"5.00\",\n                \"days\": \"5.00\"\n            }\n} ",
              "name": "types with input type unity_and_kms_and_days"
            }
          ],
          "samples-languages": [
            "http"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```