Create new readings. Existing readings at the same time for a given channel will be overwritten.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Request Body
Array of:
| Property | Description | Type | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dataPointImportId | The import identifier for the data point on which to create the reading. See the EsaChannelId property for more information At least one of EsaChannelId, EsaChannelImportId, DataPointImportId must not be null | string | ||||||||||||||||||
| esaChannelId | Channel Identification
Direct pointers to a channel If the EsaChannelId is supplied, then import to that channel. If the EsaChannelId is not supplied look at the EsaChannelImportId property, which indicates a specific channel. Inferred pointers to a channel If the EsaChannelId and EsaChannelImportId are not supplied, look at the DataPointImportId property, which indicates a data point.If that data point has one channel, import to that channel. If that data point has more than one channel, find the channel with the same observation type as the ObservationTypeCode property.If only one is found, import to that channel. If more than one channel is found based on observation type, find the channel with the same output unit as the UnitCode property.If only one is found, import to that channel. If more than one channel is found based on unit, find the channel with the same EsaChannelIntervalMinutes property. If only one is found, import to that channel. Topmost (EsaChannel) At least one of EsaChannelId, EsaChannelImportId, DataPointImportId must not be null |
integer (int32) | ||||||||||||||||||
| esaChannelImportId | The import identifier for the channel on which to create the reading. See the EsaChannelId property for more information At least one of EsaChannelId, EsaChannelImportId, DataPointImportId must not be null | string | ||||||||||||||||||
| esaChannelIntervalMinutes | The interval in minutes for the channel on which to create the reading. See the EsaChannelId property for more information | integer (int32) | ||||||||||||||||||
| observationTypeCode | The observationType code of the reading. See the EsaChannelId property for more information | string | ||||||||||||||||||
| readings | List of readings Required | EsaReadingValue[] | ||||||||||||||||||
|
EsaReadingValue properties
|
||||||||||||||||||||
| unitCode | The unit code of the reading. See the EsaChannelId property for more information | string | ||||||||||||||||||
[
{ "dataPointImportId": "string", "esaChannelId": 1, "esaChannelImportId": "string", "esaChannelIntervalMinutes": 1, "observationTypeCode": "string", "readings": [
{ "estimated": false, "note": "string", "timestamp": "2026-03-30", "useDataPointTimeZone": false, "value": 1.0
}
], "unitCode": "string"
}
]
Responses
Response Body Parameters
| Property | Description | Type | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| failedReadings | Data representing the failed readings | EsaReadingCreateError[] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
EsaReadingCreateError properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| failedReadingsCount | The number of failed readings | integer (int32) | |||||||||||||||||||||||||||||||||||||||||||||||||||
| importedReadingsCount | The number of successfully imported readings | integer (int32) | |||||||||||||||||||||||||||||||||||||||||||||||||||
{ "failedReadings": [
{ "dataPointImportId": "string", "error": "string", "esaChannelId": 1, "esaChannelImportId": "string", "esaChannelIntervalMinutes": 1, "observationTypeCode": "string", "readings": [
{ "error": "string", "estimated": false, "note": "string", "timestamp": "2026-03-30", "useDataPointTimeZone": false, "value": 1.0
}
], "unitCode": "string"
}
], "failedReadingsCount": 1, "importedReadingsCount": 1
}