Get Edifact Suche
curl --request GET \
--url https://{host}/v1/process/edifact/suche \
--header 'X-API-Key: <api-key>'import requests
url = "https://{host}/v1/process/edifact/suche"
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/process/edifact/suche', 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/suche",
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/process/edifact/suche"
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/process/edifact/suche")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/edifact/suche")
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{
"lookback_days": 123,
"treffer": [
{
"richtung": "<string>",
"edi_type": "<string>",
"sender": "<string>",
"recipient": "<string>",
"date": "<string>",
"referenz": "<string>",
"nachricht": "",
"bezug": "",
"verdict": "",
"edifact": "",
"grund": "",
"partner_name": "",
"kontakt_email": ""
}
],
"referenz": "",
"partner": "",
"durchsucht": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}API Reference
Get Edifact Suche
Find messages by reference, or list the whole exchange with one
partner. referenz matches the Datenaustauschreferenz (UNB 0020), the
message reference (UNH 0062) and, for CONTRL/APERAK, the interchange
they answer (UCI / RFF+ACE); partner narrows to one MP-ID and, alone,
lists everything exchanged with it - each acknowledgment with the
message it answers and its verdict. Searches the inbox of our market
parties, our own sent files and PARTINs that arrived as mail
attachments; PARTIN hits also surface the EDIFACT contact address.
GET
/
v1
/
process
/
edifact
/
suche
Get Edifact Suche
curl --request GET \
--url https://{host}/v1/process/edifact/suche \
--header 'X-API-Key: <api-key>'import requests
url = "https://{host}/v1/process/edifact/suche"
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/process/edifact/suche', 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/suche",
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/process/edifact/suche"
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/process/edifact/suche")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/edifact/suche")
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{
"lookback_days": 123,
"treffer": [
{
"richtung": "<string>",
"edi_type": "<string>",
"sender": "<string>",
"recipient": "<string>",
"date": "<string>",
"referenz": "<string>",
"nachricht": "",
"bezug": "",
"verdict": "",
"edifact": "",
"grund": "",
"partner_name": "",
"kontakt_email": ""
}
],
"referenz": "",
"partner": "",
"durchsucht": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
APIKeyHeaderHTTPBearer
Query Parameters
Maximum string length:
35Pattern:
^(\d{13})?$Required range:
1 <= x <= 730Response
Successful Response
Messages found for a reference and/or a partner, both directions.