Submit quarter-hourly metered values
curl --request POST \
--url https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"entries": [
{
"day": "2026-08-30",
"malo": "51238696782",
"unit": "KWH",
"values": [
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.23,
1.26,
1.29,
1.32,
1.35,
1.38,
1.41,
1.44,
1.47,
1.5,
1.53,
1.56,
1.59,
1.62,
1.65,
1.68,
1.71,
1.74,
1.77,
1.8,
1.77,
1.74,
1.71,
1.68,
1.65,
1.62,
1.59,
1.56,
1.53,
1.5,
1.47,
1.44,
1.41,
1.38,
1.35,
1.32,
1.29,
1.26,
1.23,
1.2,
1.2,
1.2,
1.2
]
}
]
}
'import requests
url = "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data"
payload = { "entries": [
{
"day": "2026-08-30",
"malo": "51238696782",
"unit": "KWH",
"values": [1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.23, 1.26, 1.29, 1.32, 1.35, 1.38, 1.41, 1.44, 1.47, 1.5, 1.53, 1.56, 1.59, 1.62, 1.65, 1.68, 1.71, 1.74, 1.77, 1.8, 1.77, 1.74, 1.71, 1.68, 1.65, 1.62, 1.59, 1.56, 1.53, 1.5, 1.47, 1.44, 1.41, 1.38, 1.35, 1.32, 1.29, 1.26, 1.23, 1.2, 1.2, 1.2, 1.2]
}
] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entries: [
{
day: '2026-08-30',
malo: '51238696782',
unit: 'KWH',
values: [
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.23,
1.26,
1.29,
1.32,
1.35,
1.38,
1.41,
1.44,
1.47,
1.5,
1.53,
1.56,
1.59,
1.62,
1.65,
1.68,
1.71,
1.74,
1.77,
1.8,
1.77,
1.74,
1.71,
1.68,
1.65,
1.62,
1.59,
1.56,
1.53,
1.5,
1.47,
1.44,
1.41,
1.38,
1.35,
1.32,
1.29,
1.26,
1.23,
1.2,
1.2,
1.2,
1.2
]
}
]
})
};
fetch('https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entries' => [
[
'day' => '2026-08-30',
'malo' => '51238696782',
'unit' => 'KWH',
'values' => [
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.23,
1.26,
1.29,
1.32,
1.35,
1.38,
1.41,
1.44,
1.47,
1.5,
1.53,
1.56,
1.59,
1.62,
1.65,
1.68,
1.71,
1.74,
1.77,
1.8,
1.77,
1.74,
1.71,
1.68,
1.65,
1.62,
1.59,
1.56,
1.53,
1.5,
1.47,
1.44,
1.41,
1.38,
1.35,
1.32,
1.29,
1.26,
1.23,
1.2,
1.2,
1.2,
1.2
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data"
payload := strings.NewReader("{\n \"entries\": [\n {\n \"day\": \"2026-08-30\",\n \"malo\": \"51238696782\",\n \"unit\": \"KWH\",\n \"values\": [\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.23,\n 1.26,\n 1.29,\n 1.32,\n 1.35,\n 1.38,\n 1.41,\n 1.44,\n 1.47,\n 1.5,\n 1.53,\n 1.56,\n 1.59,\n 1.62,\n 1.65,\n 1.68,\n 1.71,\n 1.74,\n 1.77,\n 1.8,\n 1.77,\n 1.74,\n 1.71,\n 1.68,\n 1.65,\n 1.62,\n 1.59,\n 1.56,\n 1.53,\n 1.5,\n 1.47,\n 1.44,\n 1.41,\n 1.38,\n 1.35,\n 1.32,\n 1.29,\n 1.26,\n 1.23,\n 1.2,\n 1.2,\n 1.2,\n 1.2\n ]\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"entries\": [\n {\n \"day\": \"2026-08-30\",\n \"malo\": \"51238696782\",\n \"unit\": \"KWH\",\n \"values\": [\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.23,\n 1.26,\n 1.29,\n 1.32,\n 1.35,\n 1.38,\n 1.41,\n 1.44,\n 1.47,\n 1.5,\n 1.53,\n 1.56,\n 1.59,\n 1.62,\n 1.65,\n 1.68,\n 1.71,\n 1.74,\n 1.77,\n 1.8,\n 1.77,\n 1.74,\n 1.71,\n 1.68,\n 1.65,\n 1.62,\n 1.59,\n 1.56,\n 1.53,\n 1.5,\n 1.47,\n 1.44,\n 1.41,\n 1.38,\n 1.35,\n 1.32,\n 1.29,\n 1.26,\n 1.23,\n 1.2,\n 1.2,\n 1.2,\n 1.2\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entries\": [\n {\n \"day\": \"2026-08-30\",\n \"malo\": \"51238696782\",\n \"unit\": \"KWH\",\n \"values\": [\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.23,\n 1.26,\n 1.29,\n 1.32,\n 1.35,\n 1.38,\n 1.41,\n 1.44,\n 1.47,\n 1.5,\n 1.53,\n 1.56,\n 1.59,\n 1.62,\n 1.65,\n 1.68,\n 1.71,\n 1.74,\n 1.77,\n 1.8,\n 1.77,\n 1.74,\n 1.71,\n 1.68,\n 1.65,\n 1.62,\n 1.59,\n 1.56,\n 1.53,\n 1.5,\n 1.47,\n 1.44,\n 1.41,\n 1.38,\n 1.35,\n 1.32,\n 1.29,\n 1.26,\n 1.23,\n 1.2,\n 1.2,\n 1.2,\n 1.2\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"stored": 123,
"status": "stored"
}API Reference
Submit quarter-hourly metered values
Mirror of quarter-hourly metered data (MSCONS content), per market
location and day - it feeds the Vergleichstag method of the generated
forecast. Re-sending a (MaLo, day) pair replaces the stored day.
Values default to KWH; each day needs its full quarter-hour count
(96 / 92 / 100).
POST
/
v1
/
metered-data
Submit quarter-hourly metered values
curl --request POST \
--url https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"entries": [
{
"day": "2026-08-30",
"malo": "51238696782",
"unit": "KWH",
"values": [
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.23,
1.26,
1.29,
1.32,
1.35,
1.38,
1.41,
1.44,
1.47,
1.5,
1.53,
1.56,
1.59,
1.62,
1.65,
1.68,
1.71,
1.74,
1.77,
1.8,
1.77,
1.74,
1.71,
1.68,
1.65,
1.62,
1.59,
1.56,
1.53,
1.5,
1.47,
1.44,
1.41,
1.38,
1.35,
1.32,
1.29,
1.26,
1.23,
1.2,
1.2,
1.2,
1.2
]
}
]
}
'import requests
url = "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data"
payload = { "entries": [
{
"day": "2026-08-30",
"malo": "51238696782",
"unit": "KWH",
"values": [1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.23, 1.26, 1.29, 1.32, 1.35, 1.38, 1.41, 1.44, 1.47, 1.5, 1.53, 1.56, 1.59, 1.62, 1.65, 1.68, 1.71, 1.74, 1.77, 1.8, 1.77, 1.74, 1.71, 1.68, 1.65, 1.62, 1.59, 1.56, 1.53, 1.5, 1.47, 1.44, 1.41, 1.38, 1.35, 1.32, 1.29, 1.26, 1.23, 1.2, 1.2, 1.2, 1.2]
}
] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entries: [
{
day: '2026-08-30',
malo: '51238696782',
unit: 'KWH',
values: [
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.23,
1.26,
1.29,
1.32,
1.35,
1.38,
1.41,
1.44,
1.47,
1.5,
1.53,
1.56,
1.59,
1.62,
1.65,
1.68,
1.71,
1.74,
1.77,
1.8,
1.77,
1.74,
1.71,
1.68,
1.65,
1.62,
1.59,
1.56,
1.53,
1.5,
1.47,
1.44,
1.41,
1.38,
1.35,
1.32,
1.29,
1.26,
1.23,
1.2,
1.2,
1.2,
1.2
]
}
]
})
};
fetch('https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entries' => [
[
'day' => '2026-08-30',
'malo' => '51238696782',
'unit' => 'KWH',
'values' => [
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.2,
1.23,
1.26,
1.29,
1.32,
1.35,
1.38,
1.41,
1.44,
1.47,
1.5,
1.53,
1.56,
1.59,
1.62,
1.65,
1.68,
1.71,
1.74,
1.77,
1.8,
1.77,
1.74,
1.71,
1.68,
1.65,
1.62,
1.59,
1.56,
1.53,
1.5,
1.47,
1.44,
1.41,
1.38,
1.35,
1.32,
1.29,
1.26,
1.23,
1.2,
1.2,
1.2,
1.2
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data"
payload := strings.NewReader("{\n \"entries\": [\n {\n \"day\": \"2026-08-30\",\n \"malo\": \"51238696782\",\n \"unit\": \"KWH\",\n \"values\": [\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.23,\n 1.26,\n 1.29,\n 1.32,\n 1.35,\n 1.38,\n 1.41,\n 1.44,\n 1.47,\n 1.5,\n 1.53,\n 1.56,\n 1.59,\n 1.62,\n 1.65,\n 1.68,\n 1.71,\n 1.74,\n 1.77,\n 1.8,\n 1.77,\n 1.74,\n 1.71,\n 1.68,\n 1.65,\n 1.62,\n 1.59,\n 1.56,\n 1.53,\n 1.5,\n 1.47,\n 1.44,\n 1.41,\n 1.38,\n 1.35,\n 1.32,\n 1.29,\n 1.26,\n 1.23,\n 1.2,\n 1.2,\n 1.2,\n 1.2\n ]\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"entries\": [\n {\n \"day\": \"2026-08-30\",\n \"malo\": \"51238696782\",\n \"unit\": \"KWH\",\n \"values\": [\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.23,\n 1.26,\n 1.29,\n 1.32,\n 1.35,\n 1.38,\n 1.41,\n 1.44,\n 1.47,\n 1.5,\n 1.53,\n 1.56,\n 1.59,\n 1.62,\n 1.65,\n 1.68,\n 1.71,\n 1.74,\n 1.77,\n 1.8,\n 1.77,\n 1.74,\n 1.71,\n 1.68,\n 1.65,\n 1.62,\n 1.59,\n 1.56,\n 1.53,\n 1.5,\n 1.47,\n 1.44,\n 1.41,\n 1.38,\n 1.35,\n 1.32,\n 1.29,\n 1.26,\n 1.23,\n 1.2,\n 1.2,\n 1.2,\n 1.2\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/metered-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entries\": [\n {\n \"day\": \"2026-08-30\",\n \"malo\": \"51238696782\",\n \"unit\": \"KWH\",\n \"values\": [\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.2,\n 1.23,\n 1.26,\n 1.29,\n 1.32,\n 1.35,\n 1.38,\n 1.41,\n 1.44,\n 1.47,\n 1.5,\n 1.53,\n 1.56,\n 1.59,\n 1.62,\n 1.65,\n 1.68,\n 1.71,\n 1.74,\n 1.77,\n 1.8,\n 1.77,\n 1.74,\n 1.71,\n 1.68,\n 1.65,\n 1.62,\n 1.59,\n 1.56,\n 1.53,\n 1.5,\n 1.47,\n 1.44,\n 1.41,\n 1.38,\n 1.35,\n 1.32,\n 1.29,\n 1.26,\n 1.23,\n 1.2,\n 1.2,\n 1.2,\n 1.2\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"stored": 123,
"status": "stored"
}Authorizations
APIKeyHeaderHTTPBearer
Body
application/json
Minimum array length:
1Show child attributes
Show child attributes