You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started: AI 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

edited Aug 31, 2018 9:46AM in HCM Integrations 8 comments

Summary

How to populate multiple time event attributes within the REST API timeEventRequests

Content

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!