Create new Benefit Code
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Create new Benefit Code

    • Dark
      Light

    Article summary

    Post
    /hcm-rest-api/rest/1/pybenefit

    Create Benefits

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "BenCode": "RST", "BenDescription": "test", "BenShortDesc": "roast", "BenType": "D", "BenBaseCode": "DALY", "BenCalcSeq": "91922", "BenAllocationMethod": "DEF", "BenForDepFlag": "N" }
    BenDescription
    BenBaseCode
    BenCalcSeq
    BenCode
    BenForDepFlag
    BenShortDesc
    BenAllocationMethod
    BenType
    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "BenCode": "LST",
      "BenDescription": "test",
      "BenShortDesc": "roast",
      "BenGrpCode": null,
      "BenGrpName": null,
      "BenPwFlag": null,
      "BenType": "D",
      "BenAmount": null,
      "BenBaseCode": "DALY",
      "BenBaseName": null,
      "BenCash": null,
      "BenJobAllocation": null,
      "BenPrintOrder": null,
      "BenDedCode": null,
      "BenDedName": null,
      "BenCalcSeq": 91923,
      "BenEmpleContrFlag": null,
      "BenComment": null,
      "BenForDepFlag": "N",
      "BenCalcFlag": null,
      "BenWrlAllocation": null,
      "BenJobAllocationAll": null,
      "BenCreateApVoucher": null,
      "BenExcludeFlag": null,
      "BenPrintCheckOnly": null,
      "BenAssignedCheckNum": null,
      "BenCreateSeprateCheck": null,
      "BenLimitGrpCode": null,
      "BenLimitGrpName": null,
      "BenInclInGcfStaffFlag": null,
      "BenCalcPyOverheadFlag": null,
      "BenDeptAllocation": null,
      "BenAllocationMethod": "DEF",
      "BenUser": null,
      "BenLastUpdDate": null,
      "BenBasecdAllocationFlag": null,
      "BenAccrualPaidoutFlag": null,
      "BenInclPyFcBurdenCal": null,
      "BenInclInRetropayCalcFlag": null,
      "BenLumpSum1planFlag": null,
      "BenIuCreateDate": null,
      "BenIuCreateUser": null,
      "BenIuUpdateDate": null,
      "BenIuUpdateUser": null,
      "BenProRatedFlag": null,
      "BenPkgFlag": null,
      "BenVUuid": "F296122AB84272CCE05316821FAC52D0",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pybenefit/F296122AB84272CCE05316821FAC52D0",
          "name": "pybenefit",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pybenefit/F296122AB84272CCE05316821FAC52D0",
          "name": "pybenefit",
          "kind": "item"
        }
      ]
    }
    object