REST-API dla profesjonalistów
DocUnderstand ma wbudowane lokalne REST-API. FileMaker, Xojo, skrypty lub własne narzędzia wysyłają dokument przez HTTP i otrzymują w odpowiedzi nazwę pliku, tagi Findera i ustrukturyzowane dane.
curl -X POST http://localhost:8787/process \ -H "Authorization: Bearer ••••••••" \ -H "Content-Type: application/json" \ -d '{"filename":"Faktura.pdf", ...}'
// Zakoduj foto.jpg do Base64Set Variable [ $data ; Base64EncodeRFC(...) ]Insert from URL [ $response ; "http://localhost:8787/process" ]
' Zakoduj Umowa.pdf do Base64Var req As New URLConnectionreq.SetRequestContent(json, "application/json")Var antwort As String = req.SendSync("POST", _ "http://localhost:8787/process")
{ "filename": "2026-08-10 T-Mobile…pdf", "documentType": "Faktura", "tags": ["Faktura", "Telefon"], "text": "Twoja faktura za sierpień 2026 …", "extraction": { "invoiceNumber": "RG-2026-081045", "grossAmount": 99.00 }}
{ "filename": "2026-07-14 Wakacje plaża.jpg", "documentType": "Zdjęcie", "tags": ["Zdjęcie", "Wakacje"], "exif": { "camera": "iPhone 16 Pro", "dateTaken": "2026-07-14 16:32", "gpsLocation": "43.71° N, 7.26° E" }}
{ "filename": "2026-03-01 Acme Umowa najmu.pdf", "documentType": "Umowa", "tags": ["Umowa", "Najem"], "text": "Umowa najmu pomiędzy Acme GmbH …", "extraction": { "customerNumber": "K-88213", "servicePeriod": "od 2026-03-01" }}