curl --request POST \
--url https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/zuordnungsermaechtigungen/preview \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"receiver_mp_id": "<string>",
"bilanzierungsgebiet_eic": "<string>",
"zeitreihentypen": [
"<string>"
],
"valid_from": "2023-12-25",
"action": "activate",
"bilanzkreis_eic": "<string>",
"lieferant_mp_id": "<string>"
}
'import requests
url = "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/zuordnungsermaechtigungen/preview"
payload = {
"receiver_mp_id": "<string>",
"bilanzierungsgebiet_eic": "<string>",
"zeitreihentypen": ["<string>"],
"valid_from": "2023-12-25",
"action": "activate",
"bilanzkreis_eic": "<string>",
"lieferant_mp_id": "<string>"
}
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({
receiver_mp_id: '<string>',
bilanzierungsgebiet_eic: '<string>',
zeitreihentypen: ['<string>'],
valid_from: '2023-12-25',
action: 'activate',
bilanzkreis_eic: '<string>',
lieferant_mp_id: '<string>'
})
};
fetch('https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/zuordnungsermaechtigungen/preview', 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/process/zuordnungsermaechtigungen/preview",
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([
'receiver_mp_id' => '<string>',
'bilanzierungsgebiet_eic' => '<string>',
'zeitreihentypen' => [
'<string>'
],
'valid_from' => '2023-12-25',
'action' => 'activate',
'bilanzkreis_eic' => '<string>',
'lieferant_mp_id' => '<string>'
]),
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/process/zuordnungsermaechtigungen/preview"
payload := strings.NewReader("{\n \"receiver_mp_id\": \"<string>\",\n \"bilanzierungsgebiet_eic\": \"<string>\",\n \"zeitreihentypen\": [\n \"<string>\"\n ],\n \"valid_from\": \"2023-12-25\",\n \"action\": \"activate\",\n \"bilanzkreis_eic\": \"<string>\",\n \"lieferant_mp_id\": \"<string>\"\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/process/zuordnungsermaechtigungen/preview")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"receiver_mp_id\": \"<string>\",\n \"bilanzierungsgebiet_eic\": \"<string>\",\n \"zeitreihentypen\": [\n \"<string>\"\n ],\n \"valid_from\": \"2023-12-25\",\n \"action\": \"activate\",\n \"bilanzkreis_eic\": \"<string>\",\n \"lieferant_mp_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/zuordnungsermaechtigungen/preview")
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 \"receiver_mp_id\": \"<string>\",\n \"bilanzierungsgebiet_eic\": \"<string>\",\n \"zeitreihentypen\": [\n \"<string>\"\n ],\n \"valid_from\": \"2023-12-25\",\n \"action\": \"activate\",\n \"bilanzkreis_eic\": \"<string>\",\n \"lieferant_mp_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"pruefidentifikator": "<string>",
"vorgaenge": 123,
"edifact": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Post Zuordnung Preview
Render the UTILMD (PID 55071/55072) without sending it - so the first message to an NB can be read by a human before it leaves.
curl --request POST \
--url https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/zuordnungsermaechtigungen/preview \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"receiver_mp_id": "<string>",
"bilanzierungsgebiet_eic": "<string>",
"zeitreihentypen": [
"<string>"
],
"valid_from": "2023-12-25",
"action": "activate",
"bilanzkreis_eic": "<string>",
"lieferant_mp_id": "<string>"
}
'import requests
url = "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/zuordnungsermaechtigungen/preview"
payload = {
"receiver_mp_id": "<string>",
"bilanzierungsgebiet_eic": "<string>",
"zeitreihentypen": ["<string>"],
"valid_from": "2023-12-25",
"action": "activate",
"bilanzkreis_eic": "<string>",
"lieferant_mp_id": "<string>"
}
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({
receiver_mp_id: '<string>',
bilanzierungsgebiet_eic: '<string>',
zeitreihentypen: ['<string>'],
valid_from: '2023-12-25',
action: 'activate',
bilanzkreis_eic: '<string>',
lieferant_mp_id: '<string>'
})
};
fetch('https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/zuordnungsermaechtigungen/preview', 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/process/zuordnungsermaechtigungen/preview",
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([
'receiver_mp_id' => '<string>',
'bilanzierungsgebiet_eic' => '<string>',
'zeitreihentypen' => [
'<string>'
],
'valid_from' => '2023-12-25',
'action' => 'activate',
'bilanzkreis_eic' => '<string>',
'lieferant_mp_id' => '<string>'
]),
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/process/zuordnungsermaechtigungen/preview"
payload := strings.NewReader("{\n \"receiver_mp_id\": \"<string>\",\n \"bilanzierungsgebiet_eic\": \"<string>\",\n \"zeitreihentypen\": [\n \"<string>\"\n ],\n \"valid_from\": \"2023-12-25\",\n \"action\": \"activate\",\n \"bilanzkreis_eic\": \"<string>\",\n \"lieferant_mp_id\": \"<string>\"\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/process/zuordnungsermaechtigungen/preview")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"receiver_mp_id\": \"<string>\",\n \"bilanzierungsgebiet_eic\": \"<string>\",\n \"zeitreihentypen\": [\n \"<string>\"\n ],\n \"valid_from\": \"2023-12-25\",\n \"action\": \"activate\",\n \"bilanzkreis_eic\": \"<string>\",\n \"lieferant_mp_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/zuordnungsermaechtigungen/preview")
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 \"receiver_mp_id\": \"<string>\",\n \"bilanzierungsgebiet_eic\": \"<string>\",\n \"zeitreihentypen\": [\n \"<string>\"\n ],\n \"valid_from\": \"2023-12-25\",\n \"action\": \"activate\",\n \"bilanzkreis_eic\": \"<string>\",\n \"lieferant_mp_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"pruefidentifikator": "<string>",
"vorgaenge": 123,
"edifact": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Body
One Zuordnungsermaechtigung: the BKV permits an NB to let a supplier assign market locations of the named time-series types to our balance group (MaBiS ch. 10.2/10.3, UTILMD PID 55071/55072).
bilanzkreis_eic and lieferant_mp_id fall back to the configured
balance group of the home control area and the configured supplier, so
the routine call only names the NB, its Bilanzierungsgebiet, the
time-series types and the effective date.
MP-ID of the NB (Netzbetreiber)
EIC Y code of the NB's Bilanzierungsgebiet
ZRT codes, one Vorgang each (e.g. value-based types)
1Effective day (midnight Europe/Berlin). Activation may be retroactive to the 1st of the current balancing month; deactivation only ever to the 1st of a month.
activate, deactivate