Reading
Required permissions: Meter.Organization.Read
The organization identifier
The registers identifiers
The start date and time represented using ISO 8601 format and is always in UTC time, e.g. midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
The end date and time represented using ISO 8601 format and is always in UTC time, e.g. midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
The readings resolution in seconds and if not supplied the default value is 0 seconds
The list of registers readings
Input data was invalid
Not authorized
Not allowed
Internal server error
GET /api/readings HTTP/1.1
Host: api.switchmarket.se
Accept: */*
[
{
"registerId": 1,
"readings": [
{
"timestamp": "2025-09-16T12:58:39.766Z",
"periodTo": "2025-09-16T12:58:39.766Z",
"updatedAt": "2025-09-16T12:58:39.766Z",
"value": 1,
"resolution": 1
}
]
}
]
Required permission is Meter.Organization.ReadWrite in the organization(s) that have access to the meters.
The readings were saved
No content
Input data was invalid
Not authorized
Not allowed
Internal server error
POST /api/readings HTTP/1.1
Host: api.switchmarket.se
Content-Type: application/json
Accept: */*
Content-Length: 131
{
"meters": [
{
"id": "text",
"registers": [
{
"id": "text",
"values": [
{
"timestamp": "2025-09-16T12:58:39.766Z",
"value": 1,
"resolution": 1
}
]
}
]
}
]
}
No content
Required permissions: Meter.Organization.Read
The organization identifier
The registers identifiers
The start date and time represented using ISO 8601 format and is always in UTC time, e.g. midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
The end date and time represented using ISO 8601 format and is always in UTC time, e.g. midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
The list of registers readings
Input data was invalid
Not authorized
Not allowed
Internal server error
GET /api/readings/average/hourly HTTP/1.1
Host: api.switchmarket.se
Accept: */*
[
{
"registerId": 1,
"readings": [
{
"timestamp": "2025-09-16T12:58:39.766Z",
"periodTo": "2025-09-16T12:58:39.766Z",
"updatedAt": "2025-09-16T12:58:39.766Z",
"value": 1,
"resolution": 1
}
]
}
]
Was this helpful?