post https://ads-dev.aylanetworks.com/apiv1/batch_datapoints.json
This API creates/changes various property values for various devices with one call.
Parameter Description:
- dsn: Device serial number (Mandatory)
- name: Property name (Mandatory)
- datapoint: An object containing the following parameters:
- value: Datapoint value (Mandatory)
- metadata: Each datapoint may also contain a "metadata" field containing key/value pairs. Maximum 10 metadata entries per datapoint are supported. (Optional)
{
"batch_datapoints": [
{
"dsn": "",
"name": "",
"datapoint": {
"value": "string",
"metadata": {
"key1": "string",
"key2": "string"
}
}
}
]
}