DocBits- IDP for Infor ERP
HomeAppStatusAPI
🇵🇱 Polski
🇵🇱 Polski
  • Omówienie i podstawy
    • DocBits
      • Kluczowe funkcje DocBits
    • Architektura
      • DocBits Infor na miejscu Klienta
      • Certyfikaty
    • Infor Infrastruktura
  • Informacje o wersji
  • Sekcja użytkowników końcowych i partnerów
    • Sekcja użytkownika końcowego
      • Pulpit
        • Pulpit Narzędzia
        • Scalanie Dokumentów
        • Status Dokumentu
        • Filtrowanie Dokumentów
        • Przegląd Przesłanych Dokumentów
        • Licznik Zadań
        • Zweryfikowane Wyodrębnione Pola
        • Przepływ Dokumentów
        • Rozwiązywanie problemów
        • Skróty Klawiaturowe
      • Zadania
      • Panel Kontroli Wysyłek Zaawansowanych
      • Pulpit nawigacyjny zamówienia zakupu
      • Dashboard Faktur
      • Panel Zamówień Wysyłkowych
      • Opcje Konfiguracji Użytkownika
      • Tabela AI
        • Tagowanie tabeli AI
      • Ekran Walidacji
        • Rozmyte Dane
        • Kody QR
        • Skróty Klawiaturowe
      • Cel i Zastosowanie
      • Dopasowywanie Zamówień Zakupu
        • Automatyczne Dopasowywanie Danych Zamówień Zakupu
        • Mapa Numerów Przedmiotów Dostawcy
        • Skróty Klawiaturowe
      • Księgowanie faktur kosztowych i sprzedaży pośredniej
      • Jak importować dokumenty
        • FTP
        • Ręczny Import
        • Webhook
        • Email
          • IMAP
          • OAuth Office365
      • Wsparcie techniczne w DocBits
        • Utwórz zgłoszenie
        • Ikony Pomocy
      • Kurs
        • Wprowadzenie
        • Pulpit
        • AI Table
        • Master PO Matching with DocBits
      • Nasz System Priorytetów Dokumentów
      • Portal Dostawcy
        • Rejestracja Dostawcy
        • Status Dostawcy
      • Zasoby i wsparcie
        • Wsparcie Użytkownika
    • Sekcja Partnerów
      • Automatyzacja Testów Faktur z DocBits
  • Administracja i konfiguracja
    • Ustawienia
      • Global Settings
        • Informacje o firmie
          • Definiowanie koloru aplikacji w ustawieniach firmy
        • Custom Filters
        • Document Expiry
        • Document Types
          • Layout Manager
            • Nawigacja w Menedżerze Układów
          • Document Sub Types
          • Table Columns
          • Fields
            • Dodawanie i Edytowanie Pól
          • Model Training
          • Regex
          • Script
          • EDI
          • More Settings
            • Cel i zastosowanie
            • Najlepsze praktyki
            • Rozwiązywanie problemów
            • Obsługa Duplikatów Dokumentów
            • Stempel Zatwierdzenia
            • Mapa Numerów Przedmiotów Dostawcy - Dokumentacja Administracyjna
            • Ustawienia tolerancji zamówienia zakupu / Dodatkowa tolerancja zamówienia zakupu
            • Statusy wyłączenia zamówienia zakupu
            • Tabela PO w Kreatorze Układów
            • Automatyczne sprawdzanie aktualizacji PO
            • Oblicz cenę jednostkową PO
            • Eksport niepasujących linii PO
          • e-docs
            • eSLOG 1.6 i 2.0
        • Powiadomienie e-mail
          • Konfigurowanie powiadomień
          • Zarządzanie powiadomieniami
          • Najlepsze praktyki
          • Rozwiązywanie problemów
        • Custom Filters
        • Groups, Users and Permissions
          • Użytkownicy
            • Modyfikowanie szczegółów użytkownika
            • Uprawnienia administratora
          • Podorganizacje
            • Jak utworzyć Podorganizację
          • Grupy i Uprawnienia
            • Cel i zastosowanie
            • Dodawanie/Edytowanie Grup
            • Aktywacja uprawnień
            • Kontrola Dostępu
            • Rozwiązywanie problemów
        • Integracja
          • API Calls and Examples
        • Pulpit
      • Document Processing
        • Documents Expiry
        • Import
        • Menedżer Reguł
        • Ocr Settings
        • Classification And Extraction
          • Ekstrakcja tabeli dla elementu kosztowego
          • Automatyczne wyodrębnianie kodu podatkowego
        • Master Data Lookup
        • List Of Values
        • Export
        • Module
          • Tryb adnotacji
          • Approval Before Export
          • Doc Scan
          • Doc Script
          • IDM ACL Updater
          • Swiss QR Code
        • Drzewa Decyzyjne
      • Log Settings
        • Zarządzanie Zadaniami
        • Synchronizacja Danych
      • Licencje API
      • Ustawienia Dostawcy
        • Ustawienia ogólne dostawcy
        • Edytowanie szablonów e-maili
        • Konfiguracja eksportu dla Supplier Portal dla M3
      • Zarządzanie pamięcią podręczną
    • Workflow
      • When
        • Card description
        • Document Operator for Sub-Organizations
        • Document Type Operation
      • And
        • Assigned User Condition
        • Checkbox Field Condition
        • Checkbox
        • Combined Price of Quantity Difference
        • Compare two fields
        • Compare with Purchase Order
        • Confirmed Delivery Date
        • Docfield is
        • Document Field Comparison
        • Document Field
        • Document Status Condition List
        • Document Type Operation one of
        • In Order Confirmation Purchase Order
        • Single Assigned User Condition
        • Single Document Status Condition
        • Supplier on Invoice
        • Text in field
        • Unit Price Combined with Fields
      • Then
      • Workflow Description: Conditional Export Trigger
      • Workflow Documentation
      • Standard Workflow
        • Above Max Amount
        • Cost Invoice - Export
        • Less than Max Amount
        • Purchase Invoice - 2nd Approval Quantity Export
        • Purchase Invoice - 2nd Approval Quantity
        • Purchase Invoice - 2nd Approval Unit Price Export
        • Purchase Invoice - 2nd Approval Unit Price
      • Material Ordering and Processing Workflow
    • Setup
      • Document Types
        • EDI Data Transformation Process
        • Layout Builder
        • Origin Layouts
        • Regex Manager
      • Document Training
        • Training Header Fields
        • Training Line Fields/Table Training
          • Adding New Columns
          • Advanced Settings
          • Defining Tables and Columns
          • Grouping Function
          • Manual Row Selection
          • Mapping Columns
          • Save and Delete Rules
      • SSO Configuration
      • Testing
        • PO Matching
        • Auto Accounting
          • LN
          • M3
      • Portal Dostawcy
      • Instalacja WatchDog
  • Integracja i konfiguracja Infor
    • Importing Master Data
      • Field Mappings
      • LN
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Tax Codes
      • M3
        • Auto Accounting
        • Suppliers and Purchase Orders
        • Ekstrakcja tabeli dla elementu kosztowego
    • Exporting in DocBits
      • Export Module
    • Exporting to INFOR
      • Creating a BOD Mapping File
      • Tworzenie pliku mapowania IDM
      • Creating an ION API Endpoint
      • Creating an ION API File
      • Export to M3 Mapping (API)
      • Exporting to IDM
      • M3
        • M3 Configuration
      • LN
        • Eksportuj Kody Podatkowe do LN
        • LN Configuration
  • Zaawansowane funkcje i narzędzia
    • Skrypty w DocBits
      • Calculating Total Charges Script for Docbits
      • Calculating Total Charges Script for Docbits
      • Delete lines with empty quantity and amount
      • Formatting Export Certificate Reference Numbers Script for Docbits
      • Funkcje
      • Generating Extended Invoice Numbers Script for Docbits
      • Generating Extended Invoice Numbers Script for Docbits
    • Postman for DocBits
    • Importowanie danych dostawcy i zamówień zakupu do DocBits z plików CSV
Powered by GitBook
On this page
  • Setup
  • DocBits API
  • Create a new Workspace in Postman
  • "GET" Method example
  • "POST" Method example
  • Upload Document
  • "DELETE" Method example
  • "PUT" Method example
  • Change Email Address of a User

Was this helpful?

Edit on GitHub
Export as PDF
  1. Zaawansowane funkcje i narzędzia

Postman for DocBits

PreviousGenerating Extended Invoice Numbers Script for DocbitsNextImportowanie danych dostawcy i zamówień zakupu do DocBits z plików CSV

Last updated 1 year ago

Was this helpful?

This guide will show you how to make HTTP requests to your DocBits organization via Postman. It is easy to use and very useful for organization administrators.

Setup

First, download Postman to your system and sign in/register.

Now follow this step-by-step guide to learn how HTTP requests work in Postman.

Authorization in Postman

Before you can create your HTTP requests, you need to enter your API key from DocBits to authorize them.

  • Click on the `Authorization` tab and choose `API Key` as authorization type.

  • Fill in the values. Enter “X-API-key” in the `Key` field and your API Key as value (found in DocBits Settings menu under Integration) Select Add to `Header`.

  • It should look like this:

DocBits API

Available at https://api.polydocs.io

  • Click on Authorize in the upper right corner

  • Enter your API Key and confirm by clicking `Authorize`

Create a new Workspace in Postman

  • Click on Workspaces and create a new workspace (you can name it whatever you want

  • You have to select the visibility which determines who can access this workspace.

  • After making your selection and clicking `Create Workspace` select Collections on the left side of the application and create a new collection for your HTTP requests by clicking `+`.

In this collection, you can add multiple HTTP requests. To do this, click on the 3 points of the collection and select `Add request`.

"GET" Method example

The GET method is very useful for getting information about users, sub-organizations, processed documents, and much more.

  • Choose the GET method in your HTTP request.

  • Authorize yourself as described above.

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL. For example:

  • Now paste this link in the text box next to the GET method in Postman.

Click `Send` and you should receive all the information about every user in your organization.

"POST" Method example

The POST method is usually used to create users or organizations, for example. This method inserts information into the database.

Create User

  • Select the POST Method.

  • Authorize yourself as described above

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL. In this case:

  • Now paste this link into the text box next to the POST method in Postman.

  • Select the `Body` tab in your HTTP request and enter the keys and the values ​​for each credential that has a red asterisk next to its name.

When you’re done, it should look like this:

If you want to create an admin account, set the `is_admin` value to true.

Finally, click `Send` and you can see all the credentials you set in the response below. This means the user has been created.

Upload Document

You can also use the POST method to upload a document to DocBits.

  • Select the POST Method.

  • Authorize yourself as described above.

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL.

In this case:

  • Now paste this link into the text box next to the POST method in Postman.

  • Select the `Body` tab in your HTTP request and choose `form-data`

Enter file into the `KEY` field where you will find the hidden File dropdown. Select `File` and move to the `VALUE` field where you are able to select your file by clicking `Select Files`.

When you click `Send`, you should see “success”: true in the response.

It should look like this:

"DELETE" Method example

The DELETE method is used to delete, for example, users, organizations and so on.

  • Select the DELETE Method

  • Authorize yourself as described above.

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL.

For example:

  • Now paste this link in the text box next to the DELETE method in Postman.

  • Replace the {user_id} at the end of the URL with the actual user ID you want to delete. (You can get the user_id using the GET method).

  • If you included the user_id in the URL, you don’t need to add a body key and value for it.

  • When you click `Send`, you should see “success”: true in the response.

It should look like this:

"PUT" Method example

The PUT method is mainly used to update user or organization data. It is very easy to understand and use.

  • Select the PUT Method.

  • Authorize yourself as described above.

  • Open https://api.polydocs.io and add the path of the function behind the Polydocs URL.

For example:

  • Now paste this link in the text box next to the PUT method in Postman.

  • Replace the {user_id} at the end of the URL with the actual user ID you want to delete. (You can get the user_id using the GET method).

Change Email Address of a User

  • In the body, enter “email” as the key and the new email address as the value.

  • Then just press `Send` and you should see “success” in the response.