[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Add Properties

Description

In this case, the adapter instance used for pushing data will default to SuiteAPI. It is recommended (though not required) to use this API when the resource was created using the API POST /api/resources/{id}/adapters/{adapterInstanceId}. Otherwise an additional adapter instance might be created. Note: Those properties that are specified with old timestamp will be published with current time. As a result, only one of those properties will appear in vROps (e.g. the latest one will overwrite all previous ones).

Request

Request

URL

URL


post
https://localhost/suite-api/api/resources/{id}/properties
Copy

Path Parameters

Path Parameters

string
id Required

The ID of the resource


Request Body

Request Body

property-contents of type(s) application/json, application/xml Required

The properties for the Resource

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

The properties are added successfully

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"property-content":[{"data":[0],"statKey":"string","timestamps":[0],"values":["string"]}]}' https://localhost/suite-api/api/resources/{id}/properties


Feedback

Was this page helpful?