Update Data Table Properties

post

/rest/v16/datatables/{tableName}

This endpoint is used to update the description, parent folder, or 'Live' status for the specified data table.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : dataTable-modifyRequest
Type: object
Show Source
Nested Schema : dataTableField-createRequestCollection
Type: object
Show Source
Nested Schema : folder
Type: object
Show Source
Nested Schema : Column List
Type: array
Title: Column List
List of columns to be created or updated
Show Source
Nested Schema : dataTableField-createRequest
Type: object
Data table column create 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

Data table details
Body ()
Root Schema : dataTable-createResponse
Type: object
Show Source
Nested Schema : folder
Type: object
Show Source
Back to Top

Examples

The following examples show how to update the description, parent folder, or 'Live' status 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/ServerComponents

Request Body Sample

{
  "name": "ServerComponents",
  "description": "This table lists server components for the Vision Servers configuration.",
  "folder": {
    "variableName": "servers"
  },
  "isLive": true
}
    

Response Body Sample

{
  "id": 41312686,
  "dateModified": "10/15/2019 2:18 PM",
  "links": [{
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/datatables"
    }, {
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/datatables/ServerComponents"
    }
  ],
  "name": "ServerComponents",
  "description": "This table lists server components for the Vision Servers configuration.",
  "hasUndeployedChanges": false,
  "deployedDate": "10/15/2019 2:18 PM",
  "dateCreated": "06/02/2019 12:14 PM",
  "folder": {
    "name": "Servers",
    "variableName": "servers",
    "links": [{
        "rel": "related",
        "href": "https://sitename.oracle.com/rest/v16/dataTableFolders/servers"
      }
    ],
  },
  "isLive": true
}
    
Back to Top