Update a Specific PY Company Benefit
    • 06 Jan 2025
    • 1 Minute to read
    • Dark
      Light

    Update a Specific PY Company Benefit

    • Dark
      Light

    Article summary

    Patch
    /hcm-rest-api/rest/1/pycomben/F296122AB84272CCE05316821FAC52D0
    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    Body parameters
    object
    Example{ "CobBenName": "test name" }
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "CobEmpleContrAccCode": null,
      "CobVendor": null,
      "CobVenName": null,
      "CobCompCode": "001",
      "CobPrnCode": "SM",
      "CobPygCode": "NONE",
      "CobBenCode": "AUTO",
      "CobBenName": "test name",
      "CobStartDate": "2022-11-16",
      "CobEndDate": null,
      "CobFrqCode": 3,
      "CobBenAmount": 1,
      "CobDrAccCode": "87354",
      "CobDrAccName": "Auto Allowance Expense",
      "CobEmplrContrDeptCode": null,
      "CobEmplrContrDeptName": null,
      "CobPlanCode": "SINGLE",
      "CobPlnName": "Single",
      "CobPloCode": "T-FREE",
      "CobPloName": "Tobacco Free",
      "CobBenType": "D",
      "CobEmpleContrFactor": null,
      "CobContrAmt": null,
      "CobContrMaxAmt": null,
      "CobCrAccCode": "87354",
      "CobCrAccName": "Auto Allowance Expense",
      "CobElegFrqCode": null,
      "CobElegAmt": null,
      "CobElegBaseCode": null,
      "CobBaseCode": null,
      "CobBaseName": null,
      "CobDeptCode": null,
      "CobDeptName": null,
      "CobPrintBenFlag": null,
      "CobCalcAfterFirstChkFlag": null,
      "CobComment": null,
      "CobRemittanceAmtForAp": null,
      "CobRemittanceFrqCode": 3,
      "CobRemittanceTotAmt": null,
      "CobBenSecureFlag": null,
      "CobUser": "CMICUSER",
      "CobCash": "Y",
      "CobLastUpdDate": "2023-01-19T03:33:18Z",
      "CobIuCreateDate": "2023-01-19T03:33:18Z",
      "CobIuCreateUser": "CMICUSER",
      "CobIuUpdateDate": null,
      "CobIuUpdateUser": null,
      "CobVUuid": "F296122AB85A72CCE05316821FAC52D0",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pycomben/F296122AB85A72CCE05316821FAC52D0",
          "name": "pycomben",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pycomben/F296122AB85A72CCE05316821FAC52D0",
          "name": "pycomben",
          "kind": "item"
        }
      ]
    }
    object