Creates new readings
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 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| channelId | Channel Identification
Direct pointers to a channel If the channelId is supplied, then import to that channel. If the channelId is not supplied look at the channelImportId property, which indicates a specific channel. Inferred pointers to a channel If the channelId and channelImportId are not supplied, look at the meterImportId property, which indicates a meter.If that meter has one channel, import to that channel. If that meter 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 channelIntervalInSeconds property. If only one is found, import to that channel. Topmost (Channel) |
integer (int32) | |||||||||||||||
| channelImportId | The import identifier for the channel on which to create the reading. See the channelId property for more information Must be between 0 and 255 characters | string | |||||||||||||||
| channelIntervalInSeconds | integer (int32) | ||||||||||||||||
| meterImportId | The import identifier for the meter on which to create the reading. See the channelId property for more information Must be between 0 and 255 characters | string | |||||||||||||||
| observationTypeCode | The observationType code of the reading. See the channelId property for more information Must be between 0 and 16 characters | string | |||||||||||||||
| readings | array of readings Required | Reading[] | |||||||||||||||
|
Reading properties
|
|||||||||||||||||
| unitCode | The unit code of the reading. See the channelId property for more information Must be between 0 and 16 characters | string | |||||||||||||||
[
{ "channelId": 1, "channelImportId": "string", "channelIntervalInSeconds": 1, "meterImportId": "string", "observationTypeCode": "string", "readings": [
{ "estimated": false, "note": "string", "time": "2026-03-30", "value": 1.0
}
], "unitCode": "string"
}
]
Responses
Response Body Parameters
| Property | Description | Type | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| failedReadings | Data representing the failed reading imports | FailedReadingResponse[] | ||||||||||||||||||||||||||||||||||||||||||||||||
|
FailedReadingResponse properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||
| failedReadingsCount | The number of failed reading imports | integer (int32) | ||||||||||||||||||||||||||||||||||||||||||||||||
| importedReadingsCount | The number of successfully imported readings | integer (int32) | ||||||||||||||||||||||||||||||||||||||||||||||||
{ "failedReadings": [
{ "channelId": 1, "channelImportId": "string", "channelIntervalInSeconds": 1, "error": "string", "meterImportId": "string", "observationTypeCode": "string", "readings": [
{ "error": "string", "estimated": false, "note": "string", "time": "2026-03-30", "value": 1.0
}
], "unitCode": "string"
}
], "failedReadingsCount": 1, "importedReadingsCount": 1
}