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
Body ()
Root Schema : _set_arraySetVarName-_addRequest
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.
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : _set_arraySetVarName-_addResponse
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : applicationSoftwareCounter array key
Type: object
Title: applicationSoftwareCounter array key
applicationSoftwareCounter array key
Show Source
Back to Top

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"
}
Back to Top