Get company profile
curl --request GET \
--url https://www.firmium.de/api/v1/companies/{uuid}/ \
--cookie sessionid=import requests
url = "https://www.firmium.de/api/v1/companies/{uuid}/"
headers = {"cookie": "sessionid="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'sessionid='}};
fetch('https://www.firmium.de/api/v1/companies/{uuid}/', 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://www.firmium.de/api/v1/companies/{uuid}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "sessionid=",
]);
$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://www.firmium.de/api/v1/companies/{uuid}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "sessionid=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.firmium.de/api/v1/companies/{uuid}/")
.header("cookie", "sessionid=")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.firmium.de/api/v1/companies/{uuid}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'sessionid='
response = http.request(request)
puts response.read_body{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"registration_number": "<string>",
"addresses": [
{
"street": "<string>",
"house_number": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>",
"country_code": "<string>",
"is_primary": true,
"latitude": "<string>",
"longitude": "<string>"
}
],
"industry_codes": [
{
"code": "<string>",
"description": "<string>",
"scheme": "<string>",
"version": "<string>",
"is_primary": true
}
],
"status": "Active",
"legal_form": "<string>",
"vat_number": "<string>"
}"<unknown>"v1
Get company profile
Retrieve basic company information including name, status, legal form, VAT number, registration number, and addresses.
GET
/
api
/
v1
/
companies
/
{uuid}
/
Get company profile
curl --request GET \
--url https://www.firmium.de/api/v1/companies/{uuid}/ \
--cookie sessionid=import requests
url = "https://www.firmium.de/api/v1/companies/{uuid}/"
headers = {"cookie": "sessionid="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'sessionid='}};
fetch('https://www.firmium.de/api/v1/companies/{uuid}/', 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://www.firmium.de/api/v1/companies/{uuid}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "sessionid=",
]);
$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://www.firmium.de/api/v1/companies/{uuid}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "sessionid=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.firmium.de/api/v1/companies/{uuid}/")
.header("cookie", "sessionid=")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.firmium.de/api/v1/companies/{uuid}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'sessionid='
response = http.request(request)
puts response.read_body{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"registration_number": "<string>",
"addresses": [
{
"street": "<string>",
"house_number": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>",
"country_code": "<string>",
"is_primary": true,
"latitude": "<string>",
"longitude": "<string>"
}
],
"industry_codes": [
{
"code": "<string>",
"description": "<string>",
"scheme": "<string>",
"version": "<string>",
"is_primary": true
}
],
"status": "Active",
"legal_form": "<string>",
"vat_number": "<string>"
}"<unknown>"Autorisierungen
cookieAuthSessionAuthTokenAuth
Pfadparameter
Antwort
Serializer for company base dataset
Maximum string length:
512Local registry number
Maximum string length:
100Show child attributes
Show child attributes
Show child attributes
Show child attributes
Active- ActiveInactive- InactiveIn Liquidation- In LiquidationDissolved- DissolvedBankrupt- BankruptRestructuring- RestructuringInsolvency Proceeding- Insolvency ProceedingRelocated- Relocated
Verfügbare Optionen:
Active, Inactive, In Liquidation, Dissolved, Bankrupt, Restructuring, Insolvency Proceeding, Relocated Maximum string length:
255Maximum string length:
50War diese Seite hilfreich?

