Add Row to Array Set
post
/rest/v7/prodFamVarName.prodLineVarName.modelVarName/_set_arraySetVarName/actions/_add
This action allows addition of a new index or row for a given Array set.
Request
Supported Media Types
- application/json
Root Schema : _set_arraySetVarName-_addRequest
Type:
Show Source
object
-
cacheInstanceId:
string
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.
Response
Supported Media Types
- application/json
Default Response
Root Schema : _set_arraySetVarName-_addResponse
Type:
Show Source
object
-
cacheInstanceId(optional):
string
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. -
items(optional):
array items
Nested Schema : items
Type:
Show Source
array
-
Array of:
object applicationSoftwareCounter array key
Title:
applicationSoftwareCounter array key
applicationSoftwareCounter array key
Nested Schema : applicationSoftwareCounter array key
Type:
object
Title:
applicationSoftwareCounter array key
applicationSoftwareCounter array key
Show Source
-
_arraySetVarName(optional):
string
Title:
applicationSoftwareCounter array key
applicationSoftwareCounter array key -
_index(optional):
integer
Title:
Index
Index of the element in the array set.
Examples
The following example shows how to add a new index or row for a given 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/v7/configvision.servers.ultraPowerSolutionPackage/_setapplicationSoftware/actions/_add
Request Body Sample
{ "cacheInstanceId": "WOSeTwyqtdOO2BnrSShDZoRTTVq4oj1tSfGP3bjdSTUxJFiU4SkYcTgUuC8QZgZW" }
Response Body Sample
The following example shows the contents of the response body in JSON format:
{ "items": [{ "_index": 0, "softwarePackage_array": { "value": "Cloud Management", "displayValue": "Cloud Management" }, "licenses_array": 1, "maintenance_array": "Data Protection Software Maintenance", "qty_array": 1, "startDate_array": "2018-12-06", "endDate_array": "2021-12-05" }, { "_index": 1, "softwarePackage_array": { "value": "Storage Resource Management", "displayValue": "Storage Resource Management" }, "licenses_array": 1, "maintenance_array": "Storage Resource Management Software Maintenance", "qty_array": 1, "startDate_array": "2018-12-06", "endDate_array": "2018-12-06" } ], "cacheInstanceId": "WOSeTwyqtdOO2BnrSShDZoRTTVq4oj1tSfGP3bjdSTUxJFiU4SkYcTgUuC8QZgZW" }