Create Data Table Row

post

/rest/v16/adminCustom{tableName}

This endpoint is used to create a new row for the specified data table.

Request

Path Parameters
Body ()
Root Schema : rowRequest
Type: object
Show Source
  • Title: Data Table Row Data.
    This object contains labels and values for each column in the data table.
Back to Top

Response

Supported Media Types

400 Response

Bad request. Invalid Payload

404 Response

Requested resource(s) not found

500 Response

Unexpected error

Default Response

The data for the data table row.
Body ()
Root Schema : rowResponse
Type: object
Show Source
Nested Schema : state
Type: object
Title: state
row state
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Examples

The following examples show how to create a new row for the specified data table by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/datatables/Rack_Domain/fields/DateUpdated

Request Body Sample

{
  "StatusID": 20,
  "StatusLabel": "INVOICED",
  "StatusOSC_t": "ZCA_IN_PROGRESS",
  "StatusOSC_l": "WON",
  "HistoricalStatus": "ZCA_WIN",
  "DMStatus": "WON"
}
    

Response Body Sample

{
  "id": 41365481,
  "StatusID": 20,
  "StatusLabel": "INVOICED",
  "StatusOSC_t": "ZCA_IN_PROGRESS",
  "StatusOSC_l": "WON",
  "HistoricalStatus": "ZCA_WIN",
  "DMStatus": "WON",
  "links": [{
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/adminCustomStatus"
    }, {
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/adminCustomStatus/41365481"
    }
  ]
}
    
Back to Top