curl --request POST \
--url https://{host}/v1/process/edifact/quittung-manuell \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"mp_id": "<string>",
"bezug": "<string>",
"grund": "<string>",
"datum": ""
}
'import requests
url = "https://{host}/v1/process/edifact/quittung-manuell"
payload = {
"mp_id": "<string>",
"bezug": "<string>",
"grund": "<string>",
"datum": ""
}
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({mp_id: '<string>', bezug: '<string>', grund: '<string>', datum: ''})
};
fetch('https://{host}/v1/process/edifact/quittung-manuell', 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/edifact/quittung-manuell",
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([
'mp_id' => '<string>',
'bezug' => '<string>',
'grund' => '<string>',
'datum' => ''
]),
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/edifact/quittung-manuell"
payload := strings.NewReader("{\n \"mp_id\": \"<string>\",\n \"bezug\": \"<string>\",\n \"grund\": \"<string>\",\n \"datum\": \"\"\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/edifact/quittung-manuell")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"mp_id\": \"<string>\",\n \"bezug\": \"<string>\",\n \"grund\": \"<string>\",\n \"datum\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/edifact/quittung-manuell")
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 \"mp_id\": \"<string>\",\n \"bezug\": \"<string>\",\n \"grund\": \"<string>\",\n \"datum\": \"\"\n}"
response = http.request(request)
puts response.read_body{
"referenz": "<string>",
"edi_type": "<string>",
"sender": "<string>",
"recipient": "<string>",
"date": "<string>",
"bezug": "<string>",
"verdict": "<string>",
"nachrichten": 123,
"neu": true,
"grund": ""
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Post Quittung Manuell
Record a bilateral acknowledgment given as prose - “wir bestätigen hiermit bilateral den Empfang der PARTIN, die Daten sind hinterlegt” - for a partner whose MaKo could not send the APERAK. Bound to our message like an imported acknowledgment; the mail’s gist is kept as the reason text and the source is marked as manually recorded.
curl --request POST \
--url https://{host}/v1/process/edifact/quittung-manuell \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"mp_id": "<string>",
"bezug": "<string>",
"grund": "<string>",
"datum": ""
}
'import requests
url = "https://{host}/v1/process/edifact/quittung-manuell"
payload = {
"mp_id": "<string>",
"bezug": "<string>",
"grund": "<string>",
"datum": ""
}
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({mp_id: '<string>', bezug: '<string>', grund: '<string>', datum: ''})
};
fetch('https://{host}/v1/process/edifact/quittung-manuell', 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/edifact/quittung-manuell",
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([
'mp_id' => '<string>',
'bezug' => '<string>',
'grund' => '<string>',
'datum' => ''
]),
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/edifact/quittung-manuell"
payload := strings.NewReader("{\n \"mp_id\": \"<string>\",\n \"bezug\": \"<string>\",\n \"grund\": \"<string>\",\n \"datum\": \"\"\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/edifact/quittung-manuell")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"mp_id\": \"<string>\",\n \"bezug\": \"<string>\",\n \"grund\": \"<string>\",\n \"datum\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/edifact/quittung-manuell")
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 \"mp_id\": \"<string>\",\n \"bezug\": \"<string>\",\n \"grund\": \"<string>\",\n \"datum\": \"\"\n}"
response = http.request(request)
puts response.read_body{
"referenz": "<string>",
"edi_type": "<string>",
"sender": "<string>",
"recipient": "<string>",
"date": "<string>",
"bezug": "<string>",
"verdict": "<string>",
"nachrichten": 123,
"neu": true,
"grund": ""
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Body
Record a bilateral acknowledgment that came as prose (a partner
confirms by mail that our PARTIN is registered, or refuses it) without
an EDIFACT file. Stored as a synthesized APERAK through the same ledger
as an imported file, bound to our message by bezug.
The partner's MP-ID
^\d{13}$Datenaustauschreferenz of OUR message being acknowledged
1 - 14positiv, negativ The mail's gist: who confirmed what, when
5 - 250When the confirmation was given (ISO 8601); empty = now
Response
Successful Response
Datenaustauschreferenz of the acknowledgment
The interchange it answers
positiv or negativ
Messages (UNH) in the interchange
False when this reference was already imported