Post Aperak Acknowledge
curl --request POST \
--url https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"dry_run": false,
"lookback_days": 123,
"limit": 123
}
'import requests
url = "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge"
payload = {
"dry_run": False,
"lookback_days": 123,
"limit": 123
}
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({dry_run: false, lookback_days: 123, limit: 123})
};
fetch('https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge', 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://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge",
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([
'dry_run' => false,
'lookback_days' => 123,
'limit' => 123
]),
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://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge"
payload := strings.NewReader("{\n \"dry_run\": false,\n \"lookback_days\": 123,\n \"limit\": 123\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://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dry_run\": false,\n \"lookback_days\": 123,\n \"limit\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge")
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 \"dry_run\": false,\n \"lookback_days\": 123,\n \"limit\": 123\n}"
response = http.request(request)
puts response.read_body{
"dry_run": true,
"scanned": 123,
"acknowledged": [
{
"sender": "<string>",
"type": "<string>",
"recipient": "",
"interchange_ref": "",
"geschaeftsvorfaelle": 1,
"received_at": "",
"deadline": "",
"late": false,
"ingress_status": 123
}
],
"skipped": [
{
"reason": "<string>",
"sender": "",
"type": ""
}
],
"unreadable": [
{
"reason": "<string>",
"sender": "",
"type": ""
}
],
"late": 123,
"remaining": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}API Reference
Post Aperak Acknowledge
Answer every received message that is still unacknowledged with an
APERAK Anerkennungsmeldung (BGM+312) - the answer the AHB owes the
sender of each Geschaeftsvorfall. dry_run lists what would go out.
POST
/
v1
/
process
/
aperak
/
acknowledge
Post Aperak Acknowledge
curl --request POST \
--url https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"dry_run": false,
"lookback_days": 123,
"limit": 123
}
'import requests
url = "https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge"
payload = {
"dry_run": False,
"lookback_days": 123,
"limit": 123
}
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({dry_run: false, lookback_days: 123, limit: 123})
};
fetch('https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge', 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://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge",
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([
'dry_run' => false,
'lookback_days' => 123,
'limit' => 123
]),
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://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge"
payload := strings.NewReader("{\n \"dry_run\": false,\n \"lookback_days\": 123,\n \"limit\": 123\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://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dry_run\": false,\n \"lookback_days\": 123,\n \"limit\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io/v1/process/aperak/acknowledge")
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 \"dry_run\": false,\n \"lookback_days\": 123,\n \"limit\": 123\n}"
response = http.request(request)
puts response.read_body{
"dry_run": true,
"scanned": 123,
"acknowledged": [
{
"sender": "<string>",
"type": "<string>",
"recipient": "",
"interchange_ref": "",
"geschaeftsvorfaelle": 1,
"received_at": "",
"deadline": "",
"late": false,
"ingress_status": 123
}
],
"skipped": [
{
"reason": "<string>",
"sender": "",
"type": ""
}
],
"unreadable": [
{
"reason": "<string>",
"sender": "",
"type": ""
}
],
"late": 123,
"remaining": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
APIKeyHeaderHTTPBearer
Body
application/json
Response
Successful Response
⌘I