API referenceEmsMeasurements
POST /api/EmsMeasurements/PostRealtimeMeasurements
Accepts one-second EMS measured data points for one or more assets. Each list item contains only asset id, timestamp, measurement kind and value. Gateway validates and normalizes the incoming data point only. Aggregations, timeseries management and downstream persistence are handled by another module. Always send a list, even for a single asset.
POST
/api/EmsMeasurements/PostRealtimeMeasurementscurl -X POST "/api/EmsMeasurements/PostRealtimeMeasurements" \
-H "Authorization: $ATLAS_ETRM_API_DOCUMENTATION_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": [
{
"assetId": 0,
"timestamp": "2026-01-15T09:30:00Z",
"kind": 1,
"value": 0
}
]
}'Authorization
AuthorizationstringheaderrequiredJWT Authorization header using the Bearer scheme. Enter your token including the 'Bearer ' prefix (e.g. 'Bearer eyJ...').
Body
application/json
dataEtrmApiGateway.DTOs.Ems.EmsMeasuredDataDto[] | null
Response
application/json
OK
successbooleanerrorCodestring | nullerrorMessagestring | nullwarningMessagestring | nullinfoMessagestring | nullrecordCountinteger<int32>dataEtrmApiGateway.DTOs.Ems.EmsMeasuredDataDto[] | null
{
"success": true,
"errorCode": "string",
"errorMessage": "string",
"warningMessage": "string",
"infoMessage": "string",
"recordCount": 0,
"data": [
{
"assetId": 0,
"timestamp": "2026-01-15T09:30:00Z",
"kind": 1,
"value": 0
}
]
}