- Anwendungen Die neue Version führt das Konzept von Anwendungen ein. Ein Konto kann mehrere Anwendungen haben, die unabhängig voneinander arbeiten. Jede Anwendung kann nur mit ihren eigenen Aufgaben, Verarbeitungsdaten und trainierten Modellen arbeiten und nicht auf Informationen anderer Anwendungen zugreifen.
- Mehrspaltige Felder Die Felder können jetzt Varianten haben, sodass unterschiedliche Schreibweisen und Fehler berücksichtigt werden können. Das erleichtert die Zuordnung von Vendors und Geschäftsbereichen. Die erfassten Felder werden als Arrays mit Varianten dargestellt.
- Version in URLs aktualisiert Die URLs wurden entsprechend der Version umbenannt: Das v1 in der URL wurde in v2 geändert.
Arbeiten mit Dateien
POST https://api-{location-id}.flexicapture.com/v1/file
POST https://api-{location-id}.flexicapture.com/v1/file
- den Abfrageparameter email entfernt; stattdessen wird die E-Mail-Adresse des Kontos verwendet
- der Antwort hinzugefügt: application (Anwendungs-ID) und expiring (das Ablaufdatum der Datei)
- aus der Antwort entfernt: die Schlüssel für die Dateivalidierung und -löschung (validated, is_validated, deleted, is_deleted), die Fehlermeldung (error) und die Seitenanzahl (pages_count)
GET https://api-{location-id}.flexicapture.com/v1/file/{id}/{token}/info
GET https://api-{location-id}.flexicapture.com/v1/file/{id}/{token}/info
- für gelöschte Dateien können keine Metadaten mehr abgerufen werden; stattdessen wird jetzt der Statuscode 404 zurückgegeben
- der Antwort hinzugefügt: application (Anwendungs-ID) und expiring (das Ablaufdatum der Datei)
- aus der Antwort entfernt: die Schlüssel für die Dateivalidierung und -löschung (validated, is_validated, deleted, is_deleted), die Fehlermeldung (error) und die Seitenanzahl (pages_count)
GET https://api-{location-id}.flexicapture.com/v1/file/{id}/{token}
GET https://api-{location-id}.flexicapture.com/v1/file/{id}/{token}
DELETE https://api-{location-id}.flexicapture.com/v1/file/{id}/{token}
DELETE https://api-{location-id}.flexicapture.com/v1/file/{id}/{token}
Dokumente erfassen
POST https://api-{location-id}.flexicapture.com/v1/capture/data
POST https://api-{location-id}.flexicapture.com/v1/capture/data
- der Request-Body darf die Schlüssel email und label nicht mehr enthalten
- die Schlüssel region, export_format und verification_type wurden in das Dictionary properties verschoben
- hinzugefügte Schlüssel: batch_id, is_realtime_enabled, processing_priority, is_demo, account, application, is_extra_error, documents > data, documents > is_moved, documents > traininglayout_fileid
- entfernte Schlüssel: label, lead_time, started, delivered, deleted, wait_for_action, is_test, region, export_format, verification_type, business_unit, properties > export_format, properties > verification_type
- das Array services wurde entfernt; der Schlüssel files wurde aus dem Array services in das Array documents verschoben
- number ist jetzt string statt integer
- progress ist jetzt eine Gleitkommazahl statt integer
Aufgaben zur Rechnungserfassung
POST https://api-{location-id}.flexicapture.com/v1/capture/invoices
POST https://api-{location-id}.flexicapture.com/v1/capture/invoices
- der Request-Body darf die Schlüssel business_unit, email und label nicht mehr enthalten
- die Schlüssel region, export_format und verification_type wurden in das Dictionary properties verschoben
- hinzugefügte Schlüssel: batch_id, is_realtime_enabled, processing_priority, is_demo, account, application, is_extra_error, documents > data, documents > is_moved, documents > traininglayout_fileid
- entfernte Schlüssel: label, lead_time, started, delivered, deleted, wait_for_action, is_test, region, export_format, verification_type, business_unit, properties > export_format, properties > verification_type
- das Array services wurde entfernt; der Schlüssel files wurde aus dem Array services in das Array documents verschoben
- number ist jetzt string statt integer
- progress ist jetzt eine Gleitkommazahl statt integer
- die Schlüssel region, export_format und verification_type wurden in das Dictionary properties verschoben
GET https://api-{location-id}.flexicapture.com/v1/task/{id}
GET https://api-{location-id}.flexicapture.com/v1/task/{id}
- hinzugefügte Schlüssel, ähnlich wie bei der Methode zum Erstellen von Aufgaben: batch_id, is_realtime_enabled, processing_priority, is_demo, account, application, documents_count, pages_count, is_extra_error, documents > data, documents > is_moved, documents > traininglayout_fileid
- weitere hinzugefügte Schlüssel: für die extrahierten Daten documents > data > {region, export_format, verification_type, vendor_name, invoice_date, total, currency}, für die Aufgabenabrechnung: billed, is_billed
- entfernte Schlüssel: label, lead_time, deleted, wait_for_action, is_test, region, export_format, verification_type, business_unit,
- das Array services wurde entfernt; der Schlüssel files wurde aus dem Array services in das Array documents verschoben
- number ist jetzt string statt integer
- progress ist jetzt eine Gleitkommazahl statt integer
- die Schlüssel region, export_format und verification_type wurden in das Dictionary properties verschoben
DELETE https://api-{location-id}.flexicapture.com/v1/task/{id}
DELETE https://api-{location-id}.flexicapture.com/v1/task/{id}
Arbeiten mit Datensätzen
POST https://api-{location-id}.flexicapture.com/v1/dataset/businessunits
POST https://api-{location-id}.flexicapture.com/v1/dataset/businessunits
PUT https://api-{location-id}.flexicapture.com/v1/dataset/businessunits
PUT https://api-{location-id}.flexicapture.com/v1/dataset/businessunits
GET https://api-{location-id}.flexicapture.com/v1/dataset/businessunits/{region}
GET https://api-{location-id}.flexicapture.com/v1/dataset/businessunits/{region}
DELETE https://api-{location-id}.flexicapture.com/v1/dataset/businessunits/{region}
DELETE https://api-{location-id}.flexicapture.com/v1/dataset/businessunits/{region}
DELETE https://api-{location-id}.flexicapture.com/v1/dataset/businessunit/{region}/{externalId}
DELETE https://api-{location-id}.flexicapture.com/v1/dataset/businessunit/{region}/{externalId}
POST https://api-{location-id}.flexicapture.com/v1/dataset/vendors
POST https://api-{location-id}.flexicapture.com/v1/dataset/vendors
PUT https://api-{location-id}.flexicapture.com/v1/dataset/vendors
PUT https://api-{location-id}.flexicapture.com/v1/dataset/vendors
GET https://api-{location-id}.flexicapture.com/v1/dataset/vendors/{region}
GET https://api-{location-id}.flexicapture.com/v1/dataset/vendors/{region}
DELETE https://api-{location-id}.flexicapture.com/v1/dataset/vendors/{region}
DELETE https://api-{location-id}.flexicapture.com/v1/dataset/vendors/{region}
DELETE https://api-{location-id}.flexicapture.com/v1/dataset/vendors/{region}/{externalId}
DELETE https://api-{location-id}.flexicapture.com/v1/dataset/vendors/{region}/{externalId}
Trainieren der Modelle für die Datenerfassung
POST https://api-{location-id}.flexicapture.com/v1/data/train
POST https://api-{location-id}.flexicapture.com/v1/data/train
PUT https://api-{location-id}.flexicapture.com/v1/data/train
PUT https://api-{location-id}.flexicapture.com/v1/data/train
GET https://api-{location-id}.flexicapture.com/v1/data/{taskId}/{fileId}
GET https://api-{location-id}.flexicapture.com/v1/data/{taskId}/{fileId}
POST https://api-{location-id}.flexicapture.com/v1/data/train/station/{taskId}
POST https://api-{location-id}.flexicapture.com/v1/data/train/station/{taskId}
PUT https://api-{location-id}.flexicapture.com/v1/data/train/station/{taskId}
PUT https://api-{location-id}.flexicapture.com/v1/data/train/station/{taskId}
GET https://api-{location-id}.flexicapture.com/v1/data/batch/{region}
GET https://api-{location-id}.flexicapture.com/v1/data/batch/{region}
