Add Properties Using POST
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).
The ID of the resource
Show optional properties
{
"property-content": [
{
"statKey": "string",
"timestamps": [
{}
]
}
]
}
{
"property-content": [
{
"data": [
"number"
],
"statKey": "string",
"timestamps": [
0
],
"values": [
"string"
]
}
]
}
The properties are added successfully