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

    Create new Deduction

    • Dark
      Light

    Article summary

    Post
    /hcm-rest-api/rest/1/pydeduction

    Create Deductions

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "DedCode": "LZT1", "DedDescription": "TEST DESCRIPTION", "DedShortDesc": "TEST SHORT", "DedType": "D", "DedBaseCode": "STAT", "DedCalcSeq": "91231", "DedForDepFlag": "N", "DedAllocationMethod": "DEF" }
    DedAllocationMethod
    DedCode
    DedDescription
    DedType
    DedCalcSeq
    DedForDepFlag
    DedBaseCode
    DedShortDesc
    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "DedCode": "LZT1",
      "DedDescription": "TEST DESCRIPTION",
      "DedShortDesc": "TEST SHORT",
      "DedGrpCode": null,
      "DedGrpName": null,
      "DedType": "D",
      "DedAmount": null,
      "DedBaseCode": "STAT",
      "DedBaseName": null,
      "DedEmplrContr": null,
      "DedJobAllocation": null,
      "DedPriority": null,
      "DedCfFlag": null,
      "DedPrintOrder": null,
      "DedCalcSeq": 91231,
      "DedPartialCfFlag": null,
      "DedMandatoryFlag": null,
      "DedForDepFlag": "N",
      "DedInvoiceFlag": null,
      "DedWrlAllocation": null,
      "DedCreateApVoucher": null,
      "DedExcludeFlag": null,
      "DedLimitGrpCode": null,
      "DedLimitGrpName": null,
      "DedDeptAllocation": null,
      "DedAllocationMethod": "DEF",
      "DedUser": null,
      "DedLastUpdDate": null,
      "DedBasecdAllocationFlag": null,
      "DedInclPyFcBurdenCal": null,
      "DedInclInRetropayCalcFlag": null,
      "DedLumpSum1planFlag": null,
      "DedIuCreateDate": null,
      "DedIuCreateUser": null,
      "DedIuUpdateDate": null,
      "DedIuUpdateUser": null,
      "DedProRatedFlag": null,
      "DedPkgFlag": null,
      "DedVUuid": "030B10A290630E79E06316821FAC49BA",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pydeduction/030B10A290630E79E06316821FAC49BA",
          "name": "pydeduction",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pydeduction/030B10A290630E79E06316821FAC49BA",
          "name": "pydeduction",
          "kind": "item"
        }
      ]
    }
    object