Create a PY Employee Leave
    • 06 Jan 2025
    • 1 Minute to read
    • Dark
      Light

    Create a PY Employee Leave

    • Dark
      Light

    Article summary

    Post
    /hcm-rest-api/rest/1/pyempleave

    Create Employee Leaves

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "EplPprYear": "2022", "EplCompCode": "001", "EplEmpNo": "0116", "EplLevCode": "JURY", "EplVUuid": "" }
    EplPprYear
    number

    Year

    💻 UI Fieldname: EplPprYear

    Max length224
    EplLevCode
    string

    Identify the Leave Code defined byt he company

    💻 UI Fieldname: EplLevCode

    Max length4
    EplVUuid
    string

    Unique UUID for JSON web services

    💻 UI Fieldname: EplVUuid

    Max length64
    EplCompCode
    string

    Company Code

    💻 UI Fieldname: EplCompCode

    Max length8
    EplEmpNo
    string

    The unique identifier of an employee

    💻 UI Fieldname: EplEmpNo

    Max length16
    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "EplAccruPercent": null,
      "EplAnnualAccrualCap": null,
      "EplCompCode": "001",
      "EplDaysAccrued": null,
      "EplDaysCf": null,
      "EplDaysCfExpireDate": null,
      "EplDaysCfExpired": null,
      "EplDaysUsed": null,
      "EplEligDays": null,
      "EplEligHours": null,
      "EplEmpNo": "0116",
      "EplLastUpdDate": null,
      "EplLeaveAmount": null,
      "EplLeaveCf": null,
      "EplLeaveDays": null,
      "EplLeavePayAmount": null,
      "EplLeavePercent": null,
      "EplLevCalcEndDate": null,
      "EplLevCalcMethod": null,
      "EplLevCalcMethod2": null,
      "EplLevCalcStartDate": null,
      "EplLevCfExpiredAftDays": null,
      "EplLevCode": "JURY",
      "EplLevDesc": null,
      "EplLostCfHours": null,
      "EplManualOveride": null,
      "EplMaxAccrual": null,
      "EplPprYear": 2022,
      "EplUser": null,
      "EplVUuid": "F31D852FBD376303E05316821FACEECF",
      "EplIuCreateDate": null,
      "EplIuUpdateDate": null,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyempleave/F31D852FBD376303E05316821FACEECF",
          "name": "pyempleave",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyempleave/F31D852FBD376303E05316821FACEECF",
          "name": "pyempleave",
          "kind": "item"
        }
      ]
    }
    object