Regelzonen, partners, contracts, customers and series
curl --request GET \
--url https://{host}/v1/mobile/marktrollen \
--header 'X-API-Key: <api-key>'import requests
url = "https://{host}/v1/mobile/marktrollen"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{host}/v1/mobile/marktrollen', 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/mobile/marktrollen",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://{host}/v1/mobile/marktrollen"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/v1/mobile/marktrollen")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/mobile/marktrollen")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"generated_at": "2023-11-07T05:31:56Z",
"bkv_mp_id": "<string>",
"bkv_eic": "<string>",
"lieferant_mp_id": "<string>",
"bilanzkreise": [
{
"eic": "<string>",
"rolle": "haupt",
"name": "<string>",
"control_areas": [
"50Hertz"
]
}
],
"kunden": {
"anzahl": 123,
"imsys": 123,
"rlm": 123,
"slp": 123,
"tlp": 123,
"ohne_typ": 123
},
"zeitreihen": {
"erwartet": 123,
"aktiv": 123,
"fehlt": 123,
"unerwartet": 123
},
"vertraege": {
"angefragt": 123,
"aktiv": 123,
"gekuendigt": 123,
"fehlt": 123
},
"regelzonen": [
{
"control_area": "50Hertz",
"aktiv": true,
"uenb": "<string>",
"biko": "<string>",
"bilanzkreisvertrag": "angefragt",
"kunden": {
"anzahl": 123,
"imsys": 123,
"rlm": 123,
"slp": 123,
"tlp": 123,
"ohne_typ": 123
},
"zeitreihen": {
"erwartet": 123,
"aktiv": 123,
"fehlt": 123,
"unerwartet": 123
},
"partner": [
{
"rolle": "BIKO",
"mp_id": "<string>",
"name": "<string>",
"vertraege": [
{
"art": "bilanzkreisvertrag",
"status": "angefragt"
}
],
"kunden": {
"anzahl": 123,
"imsys": 123,
"rlm": 123,
"slp": 123,
"tlp": 123,
"ohne_typ": 123
},
"zeitreihen": {
"erwartet": 123,
"aktiv": 123,
"fehlt": 123,
"unerwartet": 123
},
"typen": [
{
"zeitreihentyp": "SLS",
"zustand": "erwartet"
}
]
}
],
"weitere": 123
}
]
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}mobile
Regelzonen, partners, contracts, customers and series
The console’s Marktrollen for the app: per Regelzone the BIKO, the ÜNB and every Netzbetreiber with customers, an open point or a contract not active, with their contracts’ states, the customers by group and per Zeitreihentyp its most pressing state. No Zählpunkt, no note, no partner text. Shared between callers for 5 minutes.
GET
/
v1
/
mobile
/
marktrollen
Regelzonen, partners, contracts, customers and series
curl --request GET \
--url https://{host}/v1/mobile/marktrollen \
--header 'X-API-Key: <api-key>'import requests
url = "https://{host}/v1/mobile/marktrollen"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{host}/v1/mobile/marktrollen', 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/mobile/marktrollen",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://{host}/v1/mobile/marktrollen"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/v1/mobile/marktrollen")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/mobile/marktrollen")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"generated_at": "2023-11-07T05:31:56Z",
"bkv_mp_id": "<string>",
"bkv_eic": "<string>",
"lieferant_mp_id": "<string>",
"bilanzkreise": [
{
"eic": "<string>",
"rolle": "haupt",
"name": "<string>",
"control_areas": [
"50Hertz"
]
}
],
"kunden": {
"anzahl": 123,
"imsys": 123,
"rlm": 123,
"slp": 123,
"tlp": 123,
"ohne_typ": 123
},
"zeitreihen": {
"erwartet": 123,
"aktiv": 123,
"fehlt": 123,
"unerwartet": 123
},
"vertraege": {
"angefragt": 123,
"aktiv": 123,
"gekuendigt": 123,
"fehlt": 123
},
"regelzonen": [
{
"control_area": "50Hertz",
"aktiv": true,
"uenb": "<string>",
"biko": "<string>",
"bilanzkreisvertrag": "angefragt",
"kunden": {
"anzahl": 123,
"imsys": 123,
"rlm": 123,
"slp": 123,
"tlp": 123,
"ohne_typ": 123
},
"zeitreihen": {
"erwartet": 123,
"aktiv": 123,
"fehlt": 123,
"unerwartet": 123
},
"partner": [
{
"rolle": "BIKO",
"mp_id": "<string>",
"name": "<string>",
"vertraege": [
{
"art": "bilanzkreisvertrag",
"status": "angefragt"
}
],
"kunden": {
"anzahl": 123,
"imsys": 123,
"rlm": 123,
"slp": 123,
"tlp": 123,
"ohne_typ": 123
},
"zeitreihen": {
"erwartet": 123,
"aktiv": 123,
"fehlt": 123,
"unerwartet": 123
},
"typen": [
{
"zeitreihentyp": "SLS",
"zustand": "erwartet"
}
]
}
],
"weitere": 123
}
]
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}Authorizations
Response
Successful Response
Show child attributes
Show child attributes
Confirmed customers by how they are balanced.
Show child attributes
Show child attributes
Sum time series of ours: expected (granted, expected on Regelzone level or needed for customers), of those active, of those missing for customers; and activations nobody asked for.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes