Bilendo | Die Credit Management Software
square
star
triangle
circle

Entwicklung.

Von Entwicklern — Für Entwickler

Einfache und offene Schnittstellen für die Integration in Ihre IT-Landschaft.

Bilendo - For Developers
Biledo - Developers

Rest API

Implementieren Sie Bilendo in kürzester Zeit ganz einfach per API. Sie können bereits am selben Tag mit der Datenübertragung und Ihrer ganz individuellen Prozessoptimierung beginnen.

API Dokumentation

Bilendo API

curl -X "POST" "https://api.bilendo.de/api/v1/invoices" \
-H "Authorization: Token token=YOUR-API-TOKEN" \
-H "Content-Type: multipart/form-data" \
-F "customer[name]=New Company Inc" \
-F "contact[name]=John Smith" \
-F "[email protected]" \
-F "[email protected]"

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.bilendo.de/api/v1/invoices');
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Token token=YOUR-API-TOKEN"]);
$body = [
'customer[name]' => 'New Company Inc.',
'contact[name]' => 'John Smith',
'invoice' => new CurlFile('invoice.pdf', 'application/pdf'),
'invoice_attachment' => new CurlFile('attachment.pdf', 'application/pdf'),
];
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
$resp = curl_exec($ch);

require 'net/http'
require 'net/https'
require 'net/http/post/multipart'
uri = URI('https://api.bilendo.de/api/v1/invoices')

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_PEER

body = {
'customer[name]' => 'New Company Inc.',
'contact[name]' => 'John Smith',
'invoice' => UploadIO.new(File.new('invoice.pdf'), 'application/pdf'),
'invoice_attachment' => UploadIO.new(File.new('attachment.pdf'), 'application/pdf')
}
req = Net::HTTP::Post::Multipart.new(uri, body)
req.add_field 'Authorization', 'Token token=YOUR-API-TOKEN'

res = http.request(req)

import requests

response = requests.post(
url = 'https://api.bilendo.de/api/v1/invoices',
headers = {
'Authorization': 'Token token=YOUR-API-TOKEN'
},
files = {
'invoice': open('invoice.pdf', 'rb'),
'invoice_attachment': open('attachment.pdf', 'rb')
},
data = {
'customer[name]': 'New Company Inc',
'contact[name]': 'John Smith'
}
)