PARTIN: every partner's status and datasheet
curl --request GET \
--url https://{host}/v1/mobile/partin \
--header 'X-API-Key: <api-key>'import requests
url = "https://{host}/v1/mobile/partin"
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/partin', 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/partin",
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/partin"
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/partin")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/mobile/partin")
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",
"partners": [
{
"mp_id": "<string>",
"name": "<string>",
"role": "nb",
"control_areas": [
"<string>"
],
"status": "rejected",
"partin_sent_at": "2023-11-07T05:31:56Z",
"partin_received_at": "2023-11-07T05:31:56Z",
"partin_ack_positive_at": "2023-11-07T05:31:56Z",
"partin_rejected_at": "2023-11-07T05:31:56Z",
"partin_rejection_code": "<string>",
"partin_rejection_label_de": "<string>",
"partin_rejection_label_en": "<string>",
"zuordnung_sent_at": "2023-11-07T05:31:56Z",
"zuordnung_ack_positive_at": "2023-11-07T05:31:56Z",
"erstkontakt": "sent",
"last_contact_at": "2023-11-07T05:31:56Z",
"datasheet": {
"received_at": "2023-11-07T05:31:56Z",
"via": "as4",
"reference": "<string>",
"version": "<string>",
"pruefidentifikator": "<string>",
"older": 123,
"company": {
"name": "<string>",
"street": "<string>",
"house_number": "<string>",
"postal_code": "<string>",
"city": "<string>",
"country": "<string>"
},
"website": "<string>",
"vat_id": "<string>",
"contacts": [
{
"function_code": "<string>",
"function_de": "<string>",
"function_en": "<string>",
"name": "<string>",
"phones": [
"<string>"
],
"emails": [
"<string>"
],
"faxes": [
"<string>"
]
}
]
}
}
]
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}mobile
PARTIN: every partner's status and datasheet
Every market partner with its PARTIN exchange - sent, received, acknowledged or rejected - and its newest datasheet in full: company, address and every contact block with its phone and fax numbers and e-mail addresses. For the app’s screens and the phone’s Contacts, never a widget, the watch or a notification. Shared between callers for 5 minutes.
GET
/
v1
/
mobile
/
partin
PARTIN: every partner's status and datasheet
curl --request GET \
--url https://{host}/v1/mobile/partin \
--header 'X-API-Key: <api-key>'import requests
url = "https://{host}/v1/mobile/partin"
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/partin', 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/partin",
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/partin"
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/partin")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/mobile/partin")
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",
"partners": [
{
"mp_id": "<string>",
"name": "<string>",
"role": "nb",
"control_areas": [
"<string>"
],
"status": "rejected",
"partin_sent_at": "2023-11-07T05:31:56Z",
"partin_received_at": "2023-11-07T05:31:56Z",
"partin_ack_positive_at": "2023-11-07T05:31:56Z",
"partin_rejected_at": "2023-11-07T05:31:56Z",
"partin_rejection_code": "<string>",
"partin_rejection_label_de": "<string>",
"partin_rejection_label_en": "<string>",
"zuordnung_sent_at": "2023-11-07T05:31:56Z",
"zuordnung_ack_positive_at": "2023-11-07T05:31:56Z",
"erstkontakt": "sent",
"last_contact_at": "2023-11-07T05:31:56Z",
"datasheet": {
"received_at": "2023-11-07T05:31:56Z",
"via": "as4",
"reference": "<string>",
"version": "<string>",
"pruefidentifikator": "<string>",
"older": 123,
"company": {
"name": "<string>",
"street": "<string>",
"house_number": "<string>",
"postal_code": "<string>",
"city": "<string>",
"country": "<string>"
},
"website": "<string>",
"vat_id": "<string>",
"contacts": [
{
"function_code": "<string>",
"function_de": "<string>",
"function_en": "<string>",
"name": "<string>",
"phones": [
"<string>"
],
"emails": [
"<string>"
],
"faxes": [
"<string>"
]
}
]
}
}
]
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}{
"error": "unauthorized"
}