Update Data Table Column Properties

post

/rest/v16/datatables/{tableName}/fields/{fieldName}

This endpoint is used to update properties for the specified data table column.

Request

Supported Media Types
Path Parameters
Body ()
data table single field Update request model
Root Schema : dataTableField-updateRequest
Type: object
data table single field Update request model
Show Source
Nested Schema : relationship-request
Type: object
Show Source
Nested Schema : validation-request
Type: object
Show Source
  • Title: Attribute Hierarchy
    Attribute hierarchy
  • Title: Validation Type
    Allowed Values: [ "Config", "Commerce" ]
    Type of the validation
Nested Schema : referenceField-request
Type: object
Show Source
  • Title: Referencing Column
    the name of the referencing column.
Nested Schema : referenceTable-request
Type: object
Show Source
  • Title: Reference Table Name
    Name of the referencing table
Back to Top

Response

Supported Media Types

Default Response

Column details
Body ()
Root Schema : dataTableField
Type: object
Data table column model
Show Source
Nested Schema : relationship-response
Type: object
Show Source
Nested Schema : validation-response
Type: object
Show Source
Nested Schema : referenceField-response
Type: object
Show Source
Nested Schema : referenceTable-response
Type: object
Show Source
Back to Top

Examples

The following examples show how to update the properties for the specified data table column 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

{
  "name": "DateUpdated",
  "order": 1,
  "_proxy_id": "1"
}
    

Response Body Sample

 {
  "id": 41367525,
  "dateModified": "10/23/2019 10:43 AM",
  "links": [{
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/datatables/Rack_Domain/fields"
    }, {
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/datatables/Rack_Domain/fields/DateUpdated"
    }
  ],
  "name": "DateUpdated",
  "dateAdded": "10/23/2019 10:32 AM",
  "type": "String",
  "order": 1,
  "index": false,
  "key": false,
  "_proxy_id": "1"
}
    
Back to Top