Get Started: AI Resources for Oracle Cloud HCM – Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
How to populate multiple time event attributes within the REST API timeEventRequests
Summary
How to populate multiple time event attributes within the REST API timeEventRequestsContent
Hi gurus,
I faced an issue with populating multiple time event attributes within REST API timeEventRequests. I need to provide a cost center data in a rest call.
The request below returns BAD request status
hcmRestApi/resources/11.13.18.05/timeEventRequests
{
"requestNumber": "20183175",
"sourceId": "ZZZ",
"requestTimestamp": "2018-08-07T11:01:00.000+01:00",
"timeEvents": [
{
"deviceId": "ZZZ",
"eventDateTime": "2018-08-06T00:00:00.000-01:00/PT8H01M0S",
"supplierDeviceEvent": "V_IN",
"reporterId": "4149",
"reporterIdType": "PERSON",
"timeEventAttributes": [
{
"name": "PayrollTimeType",
"value": "Regular Time"
},
{
"name": "COST_CENTER",
"value": "022 - Sales"
}
]
}
]
}
I appreciate any inputs.
Kind reagrds,
Volodymyr
1