Create a PY Employee Leave History
- 06 Jan 2025
- 1 Minute to read
- Print
- DarkLight
Create a PY Employee Leave History
- Updated on 06 Jan 2025
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/hcm-rest-api/rest/1/pyempleavehist
Create Employee Leave Histories
Security
HTTP
Type basic
Basic authentication
Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceItem+json
Body parameters
object
Example{ "PlhCompCode": "001", "PlhPprYear": 2016.0, "PlhTranType": "LE", "PlhTranCode": "JURY", "PlhPprPeriod": 3.0, "PlhSeqNo": 365820.0, "PlhPrnCode": "SM", "PlhEmpNo": "1005", "PlhUser": "DAR", "PlhLastUpdDate": "2016-10-25T14:41:19-04:00", "PlhVUuid": "" }
PlhTranType
string
Transaction Type. Set to 'LE'
💻 UI Fieldname: PlhTranType
Max length2
PlhCompCode
string
Company Code
💻 UI Fieldname: PlhCompCode
Max length8
PlhLastUpdDate
string
💻 UI Fieldname: PlhLastUpdDate
PlhPrnCode
string
Payrun Code
💻 UI Fieldname: PlhPrnCode
Max length4
PlhUser
string
💻 UI Fieldname: PlhUser
Max length30
PlhTranCode
string
Leave Code. Must be a valid Leave Code set up in CMiC (PYLEAVE).
💻 UI Fieldname: PlhTranCode
Max length4
PlhEmpNo
string
Employee Number
💻 UI Fieldname: PlhEmpNo
Max length16
PlhSeqNo
number
💻 UI Fieldname: PlhSeqNo
Max length2238
PlhPprYear
number
Pay Period Year
💻 UI Fieldname: PlhPprYear
Max length224
PlhPprPeriod
number
Pay Period
💻 UI Fieldname: PlhPprPeriod
Max length222
PlhVUuid
string
Row ID. Leave blank.
💻 UI Fieldname: PlhVUuid
Max length64
Responses
201
Created
Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
"PlhAccrued": null,
"PlhActivateSeq": null,
"PlhAdjustment": null,
"PlhAmount": null,
"PlhAssignedCheckNum": null,
"PlhBatchNum": null,
"PlhBillingRate": null,
"PlhCategory": null,
"PlhChargeOutRate": null,
"PlhChequeSeqNumber": null,
"PlhChequeVoidDate": null,
"PlhCompCode": "001",
"PlhDataType": null,
"PlhDate": null,
"PlhDeptCode": null,
"PlhEmpCrAccCode": null,
"PlhEmpDeptCode": null,
"PlhEmpNo": "1005",
"PlhEmplrContr": null,
"PlhEmplrContrAccCode": null,
"PlhEmplrContrDeptCode": null,
"PlhEmplrContrFlag": null,
"PlhEqpCrAccCode": null,
"PlhEqpDeptCode": null,
"PlhEquipCategory": null,
"PlhEquipPhsCode": null,
"PlhEquipTranNo": null,
"PlhEquipment": null,
"PlhEquipmentCost": null,
"PlhGlAccCode": null,
"PlhGlpostFlag": null,
"PlhGrossEarning": null,
"PlhHireFlag": null,
"PlhHrlyEquipRate": null,
"PlhHrsPaid": null,
"PlhHrsWorked": null,
"PlhJob": null,
"PlhLastUpdDate": "2016-10-25T18:41:19Z",
"PlhLeaveTakenTmshtYear": null,
"PlhLeaveUpdatedInsummary": null,
"PlhLevCalcDate": null,
"PlhLevCalcMethod": null,
"PlhLevTypeFlag": null,
"PlhPayAmount": null,
"PlhPayRate": null,
"PlhPhase": null,
"PlhPostDate": null,
"PlhPostDateChangeDate": null,
"PlhPprPeriod": 3,
"PlhPprYear": 2016,
"PlhPrintCheckOnly": null,
"PlhPrnCode": "SM",
"PlhProcessFlag": null,
"PlhQuantity": null,
"PlhRateCode": null,
"PlhRefCheckNum": null,
"PlhRetpayFlag": null,
"PlhSeqNo": 365820,
"PlhTaxtypeFlag": null,
"PlhTotalHours": null,
"PlhTradeCode": null,
"PlhTranCode": "JURY",
"PlhTranType": "LE",
"PlhUnionCode": null,
"PlhUpdateBchFlag": null,
"PlhUser": "DAR",
"PlhWorkCompCode": null,
"PlhWorkLocation": null,
"PlhVUuid": "F29F45B6ACB840FEE05316821FACBB96",
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyempleavehist/F29F45B6ACB840FEE05316821FACBB96",
"name": "pyempleavehist",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyempleavehist/F29F45B6ACB840FEE05316821FACBB96",
"name": "pyempleavehist",
"kind": "item"
}
]
}
object