Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"Attribute in EO is required" error message in Batch REST operation even though it is provided in RE

3846202Oct 10 2019 — edited Oct 10 2019

I am using JDeveloper 11.1.1.9.0

I am trying to create a relationship using the URL

http://<RestReourceBaseUrl>

and I have mentioned the Content-Type as application/vnd.oracle.adf.batch+json.

Below is the REST payload.

{

   "parts":[

      {

         "id":"ExistingPG_Add",

         "path":"/parentEntity/100000011628005/child/RelationEntity",

         "operation":"create",

         "payload":[

            {

              "RelEntityId": 100000011628007

            }

         ]

      }

   ]

}

But it is showing the error

Attribute RelEntityId in ParentChildRelationEO is required.

I have provided the mandatory attribute RelEntityId in the REST payload. But still it is showing the error.

Please advise.

Thanks,

Nigel.

This post has been answered by 3846202 on Oct 10 2019
Jump to Answer
Comments
Post Details
Added on Oct 10 2019
1 comment
517 views