Add Properties Using POST

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).

Request
URI
POST
https://{api_host}/api/resources/{id}/properties
COPY
Path Parameters
string
id
Required

The ID of the resource


Request Body
property-contents of type(s) application/json
Optional

Show optional properties

{
    "property-content": [
        {
            "statKey": "string",
            "timestamps": [
                {}
            ]
        }
    ]
}
{
    "property-content": [
        {
            "data": [
                "number"
            ],
            "statKey": "string",
            "timestamps": [
                0
            ],
            "values": [
                "string"
            ]
        }
    ]
}
property-content
Required

Collection of property contents

Authentication
This operation uses the following authentication methods.
Responses
200

The properties are added successfully

Operation doesn't return any data structure