My Oracle Support Banner

How to create JSON Payload using REST/JSON Datacontrol (Doc ID 2116759.1)

Last updated on MARCH 04, 2021

Applies to:

Oracle JDeveloper - Version and later
Information in this document applies to any platform.


Using JDeveloper, this document explains the options to create a JSON Payload when using a REST/JSON Datacontrol.

While following the below steps and doing the POST operation, you will get the payload as empty.


1) Create the REST connection as per documentation.
2) Create the REST DataControl (A generic DataControl) based on the Generic REST connection
3) Create a resourcePath, set DataFormat JSON and check POST
4) Parse Payload from Sample Code:


5) Finish the DC

6) Create a new ADF page and drag and drop the operation from the DataControl on the page (as ADF Parameter Form)
7) Run the page, Enter a value in the input box and push the button. That will invoke the operation (POST), but the payload is empty

How to retrieve the correct payload in JSON Format ?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.