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

POST Multiple rows in ORDS

edited Jun 20, 2021 9:24PM in Visual Builder 2 comments

Content

Hello -

I have ATP database. I have table called students. I right click this table and select "Enable REST" and it created GET, POST etc REST URLs for me. I grab the POST REST URL.

My goal is to be able to POST atleast 2 records into students table in one go.

So to test this scenario I open Postman and select Operation = POST

Paste URL in postman as https://xxxxxxxxxxxxxx-phoenix-1.oraclecloudapps.com/ords/admin/

Give credentials in POSTMAN

content-type =  application/vnd.oracle.adf.batch+json

Put request in BODY as 

{
    "parts": [
        {
            "id""part1",
            "path""/students",
            "operation""create",
        "payload" : {
     "firstname"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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