Create a PY Employee Leave
    • 25 Sep 2024
    • 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

    EplLevCode
    string

    Identify the Leave Code defined byt he company

    EplVUuid
    string

    Unique UUID for JSON web services

    EplCompCode
    string

    Company Code

    EplEmpNo
    string

    The unique identifier of an employee

    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