Create a PY Employee Leave History
- 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Create a PY Employee Leave History
- Updated on 25 Sep 2024
- 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'
PlhCompCode
string
Company Code
PlhLastUpdDate
null
PlhPrnCode
string
Payrun Code
PlhUser
string
PlhTranCode
string
Leave Code. Must be a valid Leave Code set up in CMiC (PYLEAVE).
PlhEmpNo
string
Employee Number
PlhSeqNo
number
PlhPprYear
number
Pay Period Year
PlhPprPeriod
number
Pay Period
PlhVUuid
string
Row ID. Leave blank.
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-25T06: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