Post Bestellung Preview
curl --request POST \
--url https://{host}/v1/process/bestellungen/preview \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"modus": "einmalig",
"receiver_mp_id": "<string>",
"bilanzkreis_eic": "<string>",
"ausfuehrung": "2023-12-25",
"monat": "<string>",
"gebiet_eic": "<string>",
"zaehlpunkt": "<string>",
"version": "<string>"
}
'import requests
url = "https://{host}/v1/process/bestellungen/preview"
payload = {
"modus": "einmalig",
"receiver_mp_id": "<string>",
"bilanzkreis_eic": "<string>",
"ausfuehrung": "2023-12-25",
"monat": "<string>",
"gebiet_eic": "<string>",
"zaehlpunkt": "<string>",
"version": "<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({
modus: 'einmalig',
receiver_mp_id: '<string>',
bilanzkreis_eic: '<string>',
ausfuehrung: '2023-12-25',
monat: '<string>',
gebiet_eic: '<string>',
zaehlpunkt: '<string>',
version: '<string>'
})
};
fetch('https://{host}/v1/process/bestellungen/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://{host}/v1/process/bestellungen/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([
'modus' => 'einmalig',
'receiver_mp_id' => '<string>',
'bilanzkreis_eic' => '<string>',
'ausfuehrung' => '2023-12-25',
'monat' => '<string>',
'gebiet_eic' => '<string>',
'zaehlpunkt' => '<string>',
'version' => '<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://{host}/v1/process/bestellungen/preview"
payload := strings.NewReader("{\n \"modus\": \"einmalig\",\n \"receiver_mp_id\": \"<string>\",\n \"bilanzkreis_eic\": \"<string>\",\n \"ausfuehrung\": \"2023-12-25\",\n \"monat\": \"<string>\",\n \"gebiet_eic\": \"<string>\",\n \"zaehlpunkt\": \"<string>\",\n \"version\": \"<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://{host}/v1/process/bestellungen/preview")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"modus\": \"einmalig\",\n \"receiver_mp_id\": \"<string>\",\n \"bilanzkreis_eic\": \"<string>\",\n \"ausfuehrung\": \"2023-12-25\",\n \"monat\": \"<string>\",\n \"gebiet_eic\": \"<string>\",\n \"zaehlpunkt\": \"<string>\",\n \"version\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/bestellungen/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 \"modus\": \"einmalig\",\n \"receiver_mp_id\": \"<string>\",\n \"bilanzkreis_eic\": \"<string>\",\n \"ausfuehrung\": \"2023-12-25\",\n \"monat\": \"<string>\",\n \"gebiet_eic\": \"<string>\",\n \"zaehlpunkt\": \"<string>\",\n \"version\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"pruefidentifikator": "<string>",
"receiver_mp_id": "<string>",
"edifact": "<string>",
"frist": "2023-12-25"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}API Reference
Post Bestellung Preview
Render the ORDERS (PID 17203/17204/17207) without sending it.
POST
/
v1
/
process
/
bestellungen
/
preview
Post Bestellung Preview
curl --request POST \
--url https://{host}/v1/process/bestellungen/preview \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"modus": "einmalig",
"receiver_mp_id": "<string>",
"bilanzkreis_eic": "<string>",
"ausfuehrung": "2023-12-25",
"monat": "<string>",
"gebiet_eic": "<string>",
"zaehlpunkt": "<string>",
"version": "<string>"
}
'import requests
url = "https://{host}/v1/process/bestellungen/preview"
payload = {
"modus": "einmalig",
"receiver_mp_id": "<string>",
"bilanzkreis_eic": "<string>",
"ausfuehrung": "2023-12-25",
"monat": "<string>",
"gebiet_eic": "<string>",
"zaehlpunkt": "<string>",
"version": "<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({
modus: 'einmalig',
receiver_mp_id: '<string>',
bilanzkreis_eic: '<string>',
ausfuehrung: '2023-12-25',
monat: '<string>',
gebiet_eic: '<string>',
zaehlpunkt: '<string>',
version: '<string>'
})
};
fetch('https://{host}/v1/process/bestellungen/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://{host}/v1/process/bestellungen/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([
'modus' => 'einmalig',
'receiver_mp_id' => '<string>',
'bilanzkreis_eic' => '<string>',
'ausfuehrung' => '2023-12-25',
'monat' => '<string>',
'gebiet_eic' => '<string>',
'zaehlpunkt' => '<string>',
'version' => '<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://{host}/v1/process/bestellungen/preview"
payload := strings.NewReader("{\n \"modus\": \"einmalig\",\n \"receiver_mp_id\": \"<string>\",\n \"bilanzkreis_eic\": \"<string>\",\n \"ausfuehrung\": \"2023-12-25\",\n \"monat\": \"<string>\",\n \"gebiet_eic\": \"<string>\",\n \"zaehlpunkt\": \"<string>\",\n \"version\": \"<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://{host}/v1/process/bestellungen/preview")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"modus\": \"einmalig\",\n \"receiver_mp_id\": \"<string>\",\n \"bilanzkreis_eic\": \"<string>\",\n \"ausfuehrung\": \"2023-12-25\",\n \"monat\": \"<string>\",\n \"gebiet_eic\": \"<string>\",\n \"zaehlpunkt\": \"<string>\",\n \"version\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/bestellungen/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 \"modus\": \"einmalig\",\n \"receiver_mp_id\": \"<string>\",\n \"bilanzkreis_eic\": \"<string>\",\n \"ausfuehrung\": \"2023-12-25\",\n \"monat\": \"<string>\",\n \"gebiet_eic\": \"<string>\",\n \"zaehlpunkt\": \"<string>\",\n \"version\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"pruefidentifikator": "<string>",
"receiver_mp_id": "<string>",
"edifact": "<string>",
"frist": "2023-12-25"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
APIKeyHeaderHTTPBearer
Body
application/json
One of the BKV's three MaBiS orders (ORDERS AHB 1.1b ch. 5).
bilanzkreiszuordnungsliste(PID 17203, to an ÜNB or NB): the list of the balance group's active MaBiS-Zählpunkte.abo_start/abo_endestart or end a subscription fromausfuehrung;einmaligasks once formonatand onegebiet_eic(the Regelzone for an ÜNB - defaulted - or the NB's Bilanzierungsgebiet). Answer: UTILMD 55067.clearingliste_bas(PID 17204, to the BIKO): the clearing list of one BAS version -einmaligonly, withmonatandversion;zaehlpunktdefaults to the BAS the BIKO activated for the balance group. Answer: UTILMD 55070.aggregationsebene_rz(PID 17207, to the ÜNB):abo_startorders the BK-SZR (Kategorie B) on control-area level (Z98),abo_endecancels it so it comes per Bilanzierungsgebiet (Z99) only - fromausfuehrung, the 1st of a month, sent at the latest 2 WT before it. Only a refusal answers (ORDRSP 19204).
receiver_mp_id defaults to the ÜNB (17203/17207) or BIKO (17204) of
control_area from the BDEW register, control_area to the home
control area, bilanzkreis_eic to our balance group there.
Available options:
bilanzkreiszuordnungsliste, clearingliste_bas, aggregationsebene_rz Available options:
abo_start, abo_ende, einmalig The four German TSO control areas (Regelzonen).
Available options:
50Hertz, Amprion, TenneT, TransnetBW DTM+203: from when a subscription or level change applies (midnight Europe/Berlin); the 1st of a month for aggregationsebene_rz
YYYY-MM - the month of a one-off list or of the BAS