Required capabilities:
dataModelsAcl:READdataModelInstancesAcl:WRITE
Insert data points into a time series. You can do this for multiple time series. If you insert a data point with a timestamp that already exists, it will be overwritten with the new value.
Scope dataModelsAcl:READ to the cdf_cdm space, and dataModelInstancesAcl to the spaces of the time series.
timeSeriesAcl:WRITE also works, but it's deprecated.
The datapoints to insert.
required | Array of DatapointsWithInternalId (object) or DatapointsWithExternalId (object) or DatapointsWithInstanceId (object) (DatapointsPostDatapoint) [ 1 .. 10000 ] items |
Empty response.
IDs not found.
Missing capabilities, or no access to one or more of the time series.
Duplicate IDs found. Retry request, keeping only one instance of each duplicated ID.
{- "items": [
- {
- "id": 1,
- "datapoints": [
- {
- "timestamp": -2208988800000,
- "value": 0,
- "status": {
- "code": 0,
- "symbol": "string"
}
}
]
}
]
}{ }