Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
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