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

Error when creating Pay Elements via API

Received Response
42
Views
1
Comments
edited Feb 15, 2024 4:35PM in HCM REST APIs 1 comment

We are attempting to create a pay element with API and running into an error that we are unable to resolve.

Url:

POST /hcmRestApi/resources/11.13.18.05/elementEntries


Headers:

effective-Of: RangeStartDate=2024-04-01


Body:

{

"CreatorType": "H",

"ElementName": "Gas Coupons",

"ElementTypeId": 300000014181989,

"EntryType": "E",

"EntrySequence": 1,

"PersonId": 300005246183973

}


Response:

{

"title": "Bad Request",

"status": "400",

"o:errorDetails": [

{

"detail": "Provide a valid value for RelationshipId.",

"o:errorCode": "27014"

},

{

"detail": "Failed to validate a row with key oracle.jbo.Key[300005246189315 ] in EntryUsageEO",

"o:errorCode": "27024"

},

{

"title": "An invalid combination of employment level values was specified for an assignment level element entry usage record. (PAY-1635364)",

"detail": "An invalid combination of employment level values was specified for an assignment level element entry usage record. (PAY-1635364) Details: Values for a payroll relationship, an employment terms and a payroll assignment are required for the usage record of an assignment level element entry, and the assigned payroll value must not be specified. The assignment must be a child of the employment terms, which must likewise be a child of the payroll relationship.",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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