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
Root Schema : rowRequest
Type:
Show Source
object
-
DataItems:
string
Title:
Data Table Row Data.
This object contains labels and values for each column in the data table.
Response
Supported Media Types
- application/json
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.
Root Schema : rowResponse
Type:
Show Source
object
-
_state:
object state
Title:
state
row state -
DataItems:
string
Title:
Data Table Row Data.
This object contains labels and values for each column in the data table.
Nested Schema : items
Type:
Show Source
object
-
field:
string
Title:
field
error field -
title:
string
Title:
title
error title
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" } ] }