Market communication: counts and standing rejections
curl --request GET \
--url https://{host}/v1/mobile/market-partners \
--header 'X-API-Key: <api-key>'import requests
url = "https://{host}/v1/mobile/market-partners"
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/market-partners', 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/market-partners",
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/market-partners"
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/market-partners")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/mobile/market-partners")
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",
"registry_stand": {},
"totals": {
"rejected": 123,
"pending": 123,
"established": 123,
"complete": 123,
"zugeordnet": 123,
"contacted": 123,
"none": 123,
"ausgenommen": 123
},
"areas": [
{
"control_area": "<string>",
"counts": {
"rejected": 123,
"pending": 123,
"established": 123,
"complete": 123,
"zugeordnet": 123,
"contacted": 123,
"none": 123,
"ausgenommen": 123
}
}
],
"rejected": [
{
"mp_id": "<string>",
"name": "<string>",
"control_areas": [
"<string>"
],
"stream": "partin",
"reason_code": "<string>",
"reason_label_de": "<string>",
"reason_label_en": "<string>",
"at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}mobile
Market communication: counts and standing rejections
Status counts per control area and every standing rejection, told by its stream and code - never the partner’s text. Shared between callers for 5 minutes.
GET
/
v1
/
mobile
/
market-partners
Market communication: counts and standing rejections
curl --request GET \
--url https://{host}/v1/mobile/market-partners \
--header 'X-API-Key: <api-key>'import requests
url = "https://{host}/v1/mobile/market-partners"
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/market-partners', 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/market-partners",
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/market-partners"
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/market-partners")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/mobile/market-partners")
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",
"registry_stand": {},
"totals": {
"rejected": 123,
"pending": 123,
"established": 123,
"complete": 123,
"zugeordnet": 123,
"contacted": 123,
"none": 123,
"ausgenommen": 123
},
"areas": [
{
"control_area": "<string>",
"counts": {
"rejected": 123,
"pending": 123,
"established": 123,
"complete": 123,
"zugeordnet": 123,
"contacted": 123,
"none": 123,
"ausgenommen": 123
}
}
],
"rejected": [
{
"mp_id": "<string>",
"name": "<string>",
"control_areas": [
"<string>"
],
"stream": "partin",
"reason_code": "<string>",
"reason_label_de": "<string>",
"reason_label_en": "<string>",
"at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}Authorizations
Response
Successful Response
the date of each TSO's registry list
Show child attributes
Show child attributes
every registry partner once
Show child attributes
Show child attributes
Show child attributes
Show child attributes
newest first
Show child attributes
Show child attributes