curl --request POST \
--url https://app.polygon-one.com/api/ppwr/mengenmeldung/reports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"periodYear": 2050,
"market": "<string>",
"systemOperatorId": "<string>"
}
'import requests
url = "https://app.polygon-one.com/api/ppwr/mengenmeldung/reports"
payload = {
"periodYear": 2050,
"market": "<string>",
"systemOperatorId": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({periodYear: 2050, market: '<string>', systemOperatorId: '<string>'})
};
fetch('https://app.polygon-one.com/api/ppwr/mengenmeldung/reports', 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://app.polygon-one.com/api/ppwr/mengenmeldung/reports",
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([
'periodYear' => 2050,
'market' => '<string>',
'systemOperatorId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://app.polygon-one.com/api/ppwr/mengenmeldung/reports"
payload := strings.NewReader("{\n \"periodYear\": 2050,\n \"market\": \"<string>\",\n \"systemOperatorId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://app.polygon-one.com/api/ppwr/mengenmeldung/reports")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"periodYear\": 2050,\n \"market\": \"<string>\",\n \"systemOperatorId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.polygon-one.com/api/ppwr/mengenmeldung/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"periodYear\": 2050,\n \"market\": \"<string>\",\n \"systemOperatorId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "blocking_errors",
"blockingErrors": [
{
"kind": "missing_mass",
"specRef": "<string>",
"packagingSpecId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"componentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"componentCode": "<string>",
"componentName": "<string>",
"material": "<string>",
"familyLabelsDe": "<string>",
"candidates": [
{
"code": "<string>",
"label": "<string>"
}
]
}
]
}{
"error": "<string>",
"details": "<unknown>"
}Mengenmeldung erzeugen
Generate and freeze a report for one period, market and register. Re-generating the same scope after the data changed is the normal flow: the new report supersedes the previous one (its version increments, the old row stays listed as superseded). A 422 names precisely which data is not declarable yet, item by item — nothing is written. Requires packaging:write; customer workspace with the PPWR module enabled — see the guide.
curl --request POST \
--url https://app.polygon-one.com/api/ppwr/mengenmeldung/reports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"periodYear": 2050,
"market": "<string>",
"systemOperatorId": "<string>"
}
'import requests
url = "https://app.polygon-one.com/api/ppwr/mengenmeldung/reports"
payload = {
"periodYear": 2050,
"market": "<string>",
"systemOperatorId": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({periodYear: 2050, market: '<string>', systemOperatorId: '<string>'})
};
fetch('https://app.polygon-one.com/api/ppwr/mengenmeldung/reports', 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://app.polygon-one.com/api/ppwr/mengenmeldung/reports",
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([
'periodYear' => 2050,
'market' => '<string>',
'systemOperatorId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://app.polygon-one.com/api/ppwr/mengenmeldung/reports"
payload := strings.NewReader("{\n \"periodYear\": 2050,\n \"market\": \"<string>\",\n \"systemOperatorId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://app.polygon-one.com/api/ppwr/mengenmeldung/reports")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"periodYear\": 2050,\n \"market\": \"<string>\",\n \"systemOperatorId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.polygon-one.com/api/ppwr/mengenmeldung/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"periodYear\": 2050,\n \"market\": \"<string>\",\n \"systemOperatorId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "blocking_errors",
"blockingErrors": [
{
"kind": "missing_mass",
"specRef": "<string>",
"packagingSpecId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"componentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"componentCode": "<string>",
"componentName": "<string>",
"material": "<string>",
"familyLabelsDe": "<string>",
"candidates": [
{
"code": "<string>",
"label": "<string>"
}
]
}
]
}{
"error": "<string>",
"details": "<unknown>"
}Autorisierungen
API key generated in Settings > API Keys. Include as Authorization: Bearer <key>.
Body
Trigger a report generation. reportType and systemOperatorId are required for lucid_de and unused by the worksheet registers, which always produce the annual report.
2000 <= x <= 2100ISO alpha-2 (case-insensitive).
^[A-Za-z]{2}$Register format. Each accepts exactly one market: lucid_de→DE, verpact_nl→NL, ara_at→AT, bdo_pl→PL, miteco_es→ES, conai_it→IT.
lucid_de, verpact_nl, ara_at, bdo_pl, miteco_es, conai_it The LUCID Meldungsart: HPM1 Planmengenmeldung, HMM1 unterjährige Mengenmeldung, HJM1 Jahresabschlussmengenmeldung, HNM1 Ergänzungsmengenmeldung, HAM1 Abzugsmengenmeldung.
HPM1, HMM1, HJM1, HNM1, HAM1 Your dual system's LUCID number: two letters + 13 digits (lower case is accepted and upper-cased). Required for lucid_de, unused by the worksheet registers.
^[A-Za-z]{2}[0-9]{13}$