Load Array Set Data

post

/rest/v16/config{prodFamVarName}.{prodLineVarName}.{modelVarName}/_set{arraySetVarName}/actions/_loadData

This action reads the configuration data from a particular array set. This endpoint will not run the rules but rather loads that configuration data of the array set. The cache instance ID is used as the input parameter in the request body.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : arraySetVarName_loadDataRequest
Type: object
Show Source
  • Title: Cache Instance Id
    The unique identifier for the entry of configuration data stored in the cache. This is obtained from actions that launch configuration and passed along in subsequent actions.
  • Query Definition
    Title: Query Definition
    Captures the query definition for the current resource request.
Nested Schema : Query Definition
Type: object
Title: Query Definition
Captures the query definition for the current resource request.
Show Source
Nested Schema : actions
Type: array
Array of actions names, whose state is requested in the state object response.
Show Source
Nested Schema : childDefs
Type: array
Show Source
Nested Schema : expand
Type: array
Array of child resource names that you want to expand so that the contents return with the parent in the same request.
Show Source
Nested Schema : expandedDomains
Type: array
Array of field names, whose expanded domains are requested in the state object response.
Show Source
Nested Schema : fields
Type: array
Array of field names that you wanted returned in a request.
Show Source
Nested Schema : Child query criteria.
Type: object
Title: Child query criteria.
Captures the query criteria for the child resource.
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : arraySetVarName_loadDataResponse
Type: object
Show Source
  • Title: Cache Instance Id
    The unique identifier for the entry of configuration data stored in the cache. This is obtained from actions that launch configuration and passed along in subsequent actions.
  • Title: Count
    Specifies that the total count of records should be included in the response when doing pagination.
  • Title: Has More
    Returns true if more resources are available on the server than the subset returned in current page.
  • items
  • Title: Limit
    The requested page size, which limits the number of elements the collection should max return.
  • Title: Offset
    The offset of the page. By default, offset is 0, which means first page will be returned.
  • Title: Total Results
    Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : items
Type: array
Show Source
Nested Schema : Array Set Name
Type: object
Title: Array Set Name
Show Source
Back to Top

Examples

The following example reads the configuration data from a particular array set and loads that configuration data of the array set by submitting a POST request to the REST resource using cURL.

curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/configvision.servers.ultraPowerSolutionPackage/_setapplicationSoftware/actions/_loadData

Request Body Sample

{
	"cacheInstanceId": "ZGQn3ciig5QBSvvvzZnin1IpAEUyC0wTv122guTBLnzGWnjgG6ekKPa7JvNrQubs3",
	"criteria": {
		"state": true,
		"fields": ["arrayTextField1"]
	}
}
         

Response Body Sample

The following example shows the contents of the response body in JSON format:

{
	"_state": {
		"insertable": true,
		"sortable": false,
		"deletable": true,
		"defaultRowState": {
			"updatable": true,
			"hasError": false,
			"messages": [],
			"attributes": {
				"arrayTextField1": {
					"updatable": true,
					"hasError": false,
					"hasWarning": false,
					"messages": [],
					"visible": true,
					"hasConstraintViolation": false
				}
			}
		},
		"actions": {
			"_delete": {
				"enabled": true,
				"visible": true
			},
			"_add": {
				"enabled": true,
				"visible": true
			}
		},
		"attributes": {
			"arrayTextField1": {
				"visible": true
			}
		}
	},
	"items": [{
			"index": 0,
			"_rowKey": "6d5eb9ef-393c-43aa-9528-925489f8767d",
			"arrayTextField1": "test0",
			"_state": {
				"hasError": false,
				"messages": []
			}
		}, {
			"index": 1,
			"_rowKey": "d8da0d00-92d3-48bb-af02-1bf72c80fd81",
			"arrayTextField1": "",
			"_state": {
				"hasError": false,
				"messages": []
			}
		}, {
			"index": 2,
			"_rowKey": "bb3102d3-a83e-47ef-a38d-0abe9f31508e",
			"arrayTextField1": "",
			"_state": {
				"hasError": false,
				"messages": []
			}
		}
	],
	"cacheInstanceId": "ZGQn3ciig5QBSvvvzZnin1IpAEUyC0wTv122guTBLnzGWnjgG6ekKPa7JvNrQubs3"
}
Back to Top